tempstring...newline

Post new mods and scenarios here.

Moderator: Vic

Post Reply
bwheatley
Posts: 3655
Joined: Mon Dec 13, 2004 4:08 pm
Contact:

tempstring...newline

Post by bwheatley »

How do you force a \n newline in a tempstring?

I know you have some secret vic :)
-Alpha Tester Carrier Force
-Beta Tester ATG
- Mod Maintainer (past) for ATG's WAW mod
- Mod Maintainer (past) for ATG's GPW mod
-Beta Tester WITE
-Alpha Tester WITW
-Alpha Tester WITE2
-Alpha Tester Wif
-Beta Tester Command
User avatar
LiquidSky
Posts: 2834
Joined: Tue Jun 24, 2008 4:28 am

RE: tempstring...newline

Post by LiquidSky »



You could try \r\n
“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
bwheatley
Posts: 3655
Joined: Mon Dec 13, 2004 4:08 pm
Contact:

RE: tempstring...newline

Post by bwheatley »

yea i did \n let me try \r\n...

i'd done


[tab] [enter] [\n] []n[/] heh every variation but that lets see.

And i'm doing them as "real strings" since i'd imagine that would have the best chances of finding the whatever vic embedded :)
-Alpha Tester Carrier Force
-Beta Tester ATG
- Mod Maintainer (past) for ATG's WAW mod
- Mod Maintainer (past) for ATG's GPW mod
-Beta Tester WITE
-Alpha Tester WITW
-Alpha Tester WITE2
-Alpha Tester Wif
-Beta Tester Command
bwheatley
Posts: 3655
Joined: Mon Dec 13, 2004 4:08 pm
Contact:

RE: tempstring...newline

Post by bwheatley »

no dice i'll have to keep plugging away :)
-Alpha Tester Carrier Force
-Beta Tester ATG
- Mod Maintainer (past) for ATG's WAW mod
- Mod Maintainer (past) for ATG's GPW mod
-Beta Tester WITE
-Alpha Tester WITW
-Alpha Tester WITE2
-Alpha Tester Wif
-Beta Tester Command
bwheatley
Posts: 3655
Joined: Mon Dec 13, 2004 4:08 pm
Contact:

RE: tempstring...newline

Post by bwheatley »

dur nm found it..its a checktype..under logic return CRLF :)
-Alpha Tester Carrier Force
-Beta Tester ATG
- Mod Maintainer (past) for ATG's WAW mod
- Mod Maintainer (past) for ATG's GPW mod
-Beta Tester WITE
-Alpha Tester WITW
-Alpha Tester WITE2
-Alpha Tester Wif
-Beta Tester Command
User avatar
LiquidSky
Posts: 2834
Joined: Tue Jun 24, 2008 4:28 am

RE: tempstring...newline

Post by LiquidSky »



Ahhh..he probably doesn't have the multiline enabled for the textbox. So you wont be able to do it at all.
“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
bwheatley
Posts: 3655
Joined: Mon Dec 13, 2004 4:08 pm
Contact:

RE: tempstring...newline

Post by bwheatley »

ORIGINAL: LiquidSky



Ahhh..he probably doesn't have the multiline enabled for the textbox. So you wont be able to do it at all.


no it worked :) just had to set a tempvar to be = checktype CRLF and we were good to go. :) wish he had [crlf] setup as a message hotkey though would be a lot less hassle. :)
-Alpha Tester Carrier Force
-Beta Tester ATG
- Mod Maintainer (past) for ATG's WAW mod
- Mod Maintainer (past) for ATG's GPW mod
-Beta Tester WITE
-Alpha Tester WITW
-Alpha Tester WITE2
-Alpha Tester Wif
-Beta Tester Command
User avatar
LiquidSky
Posts: 2834
Joined: Tue Jun 24, 2008 4:28 am

RE: tempstring...newline

Post by LiquidSky »



Ahh...I see what you mean...I am starting to play around with the events, so its good to know this stuff.
“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
Post Reply

Return to “Mods and Scenarios”