can you make a variable "global" to just one model

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
Paradan
Posts: 16
Joined: Wed May 18, 2011 5:45 pm

can you make a variable "global" to just one model

Post by Paradan »

is it possible to do something like have a single integer variable, e.g., strength, but be able to define it separately for each model?

kind of like making it become a .propertyName of the model, so I could refer to it via currentModel.
User avatar
VilleK
Site Admin
Posts: 2371
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

There is some limited support for that, see this thread the section named "8. Access to defined variables in other models".
Post Reply