Post your scripting questions / solutions here
Moderator: Moderators
-
Speciecs8472
- Lance Corporal
- Posts: 14
- Joined: Thu Mar 18, 2004 10:22 pm
Post
by Speciecs8472 »
Is there a variable type that retains its value after map changes?
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
Post
by omniscient »
i thnk cvar does, though im not sure.
-
jv_map
- Site Admin
- Posts: 6521
- Joined: Tue Sep 03, 2002 2:53 pm
- Location: The Netherlands
-
Contact:
Post
by jv_map »
A cvar does, you could also try game.something instead of level.something.
-
Speciecs8472
- Lance Corporal
- Posts: 14
- Joined: Thu Mar 18, 2004 10:22 pm
Post
by Speciecs8472 »
thnx, it workes fine. second time posting. great forums.

-
dcoshea
- Colour Sergeant
- Posts: 94
- Joined: Thu Mar 04, 2004 3:00 am
- Location: Sydney, Australia
-
Contact:
Post
by dcoshea »
Note:
MOH Miscellaneous Script Documentation.html wrote:Only primitive values (integers/floats/strings/vectors) will persist across levels.
Regards,
David