Difference between revisions of "Reference Variables"
m
no edit summary
imported>Millinghordesman m |
imported>JOG m |
||
|
if myReferenceVariable != player
</pre>
Example:
scn TheMastersSword ; Whoever equips it gets +50 to blade
ref UserRef
begin OnEquip
set UserRef to GetContainer
UserRef.Modactorvalue blade 50
end
begin OnUnEquip
set UserRef to GetContainer
UserRef.Modactorvalue blade -50
end
[[Category:Variables]]
| |||