local or level?
Moderator: Moderators
local or level?
whats the difference between a local.xxx variable and a level.xx variable? i've never found this out. 
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
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
============================
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
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 =)
When I am king, you will be first against the wall~


nice sig .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.
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
