Difference between revisions of "OnAdd"

Jump to navigation Jump to search
635 bytes removed ,  05:32, 2 August 2009
m
Reverted edits by Elei-Mi-Shill (Talk); changed back to last version by Quetzilla
imported>Elei-Mi-Shill
imported>Qazaaq
m (Reverted edits by Elei-Mi-Shill (Talk); changed back to last version by Quetzilla)
 
Line 12: Line 12:


[[Category: Blocktypes]]
[[Category: Blocktypes]]
'''PLZ, I need to know how it works with some functions as GetSelf, GetContainer, GetActionRef'''
In example:
''Using GetContainer in an OnAdd block will return the container in which the object or the npc whom the object was added to (tested, it works)''
''Using GetSelf in an OnAdd is ignored (ie, does not change the value of the variable if already assigned).''
This would be needed to all the Blocktypes in order to let ppl know how to obtain certain infos (in example I need to know the REF of the object I'm adding, and that seems impossible right now)
Delete this few lines I wrote when you have updated this entry PLZ.
Anonymous user

Navigation menu