Are variables global*? Can you make them global*?
*Global(not true meaning but) = for all players, and if a player logs on it is immeditely synced to them.
ID:158847
Jun 20 2009, 9:20 am
|
|
Jun 20 2009, 9:21 am
|
|
Global variables are variables not defined under anything. They always exist.
|
In response to Kaiochao
|
|
Variables belonging to a type can also be made global:
mob |
In response to Garthor
|
|
Okay, but just to clarify, these vars exist on the server and not the client, right?
|
In response to Neos300
|
|
All variables already exist on the server, with the exception of interface settings (if you consider them "variables"). What do you mean?
If you mean "do all mobs share that same variable", then yes. IE: mob Note that all subtypes of /mob will also share the same variable. So /mob/monsters will contribute to the /mob population, for example. |
In response to Garthor
|
|
Ok thanks.
|