Page 1 of 1
local or level?
Posted: Mon Jul 26, 2004 3:42 pm
by lizardkid
whats the difference between a local.xxx variable and a level.xx variable? i've never found this out.

Posted: Mon Jul 26, 2004 5:11 pm
by G3mInI
Predefined object references
============================
1) game
Refers to the unique game object which maintains its state across levels. Only primitive values (integers/floats/strings/vectors) will persist across levels.
2) level
Refers to the unique level object which maintains its state for the duration of a level.
3) local
Refers to the thread executing the current command.
4) parm
Refers to the unique parm object which can be used to pass parameters to new threads.
Note that any use of this variable could be coded "better" by using parameters in the creation of new threads.
5) self
Refers to the object that the thread is processing for. This object is the same for all threads in a group of threads.
6) group
Refers to the object representing the group of threads the thread executing the current command belongs to.
Hope that helps,
G3mInI
Posted: Mon Jul 26, 2004 7:29 pm
by lizardkid
oh awesome, this is exactly what i need.

thanks Gemini!
Posted: Mon Jul 26, 2004 9:10 pm
by Splaetos
LOOK at the tutorials and manuals provided, they are a great resource and you only clog the forums with useless questions when you ask about an obvious detail.
http://map.moh-central.net/t.php?id=82#predefined_obj
sorry lizard =p I just couldnt resist =)
Posted: Tue Jul 27, 2004 2:21 pm
by lizardkid

i know. i was a bit irritated at some of the noobs when i wrote that. i was sure i combed that page a million bajillion gronnellion times! (pun, anyone?)
ah well, it's answered.

Posted: Tue Jul 27, 2004 4:40 pm
by M&M
lizardkid in his sig wrote:btw this is directed at no one, jsut simple things that tick me off personally.
LOOK at the tutorials and manuals provided, they are a great resource and you only clog the forums with useless questions when you ask about an obvious detail.
READ THE FORUM DESCRIPTION, help wanted/offered is NOT for mapping/scripting whatever questions. use the correct forum.
SEARCH MAN SEARCH! use the search button. we all get tired of answering repetative questions.
nice sig .
u should use what it says
im very sure that omniscient (later changed name to kaioty,who then later disappeared) posted the same question some months ago