ID:171265
Oct 19 2004, 11:03 am
|
|
is there a var that i could add that applys to everything? mobs turf and obj and a way to minus it from everything
|
If I understand what you're saying, you want a variable which would be the same for every single type, or that is what I heard from you at least.
If you want that, you should use global variables. When one mob's global variable changes, all of the mob's global variable changes. mob If asdf were to change for one mob, all mob's "asdf" variable would change. ~~> Dragon Lord |
In response to Crashed
|
|
um like..
atom/var Whatever that would apply the variable to all turfs areas mobs exc exc |
In response to Lummox JR
|
|
but i want it so if it changes for me it changes for EVERYONE
|
In response to Strawgate
|
|
Strawgate wrote:
but i want it so if it changes for me it changes for EVERYONE Read Dragon Lord's post again. |
In response to Unknown Person
|
|
but then how do i change the world var
|
In response to Unknown Person
|
|
Unknown Person wrote:
If I understand what you're saying, you want a variable which would be the same for every single type, or that is what I heard from you at least. There's no such thing as "a mob's global var", because a global var doesn't belong to any mob at all. mob That could work I guess, but much better would be this:
var/asdf
Lummox JR |
In response to Lummox JR
|
|
but then how do i change it? during a proc or a verb
|
In response to Strawgate
|
|
You can change a variable anywhere.
|
If you define a var for /atom, then it will apply to all objs, mobs, turfs, and areas.
Lummox JR