Difference between revisions of "OnAdd"

Jump to navigation Jump to search
110 bytes added ,  19:18, 1 August 2009
m
no edit summary
imported>Elei-Mi-Shill
imported>Elei-Mi-Shill
m
Line 19: Line 19:


''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 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)
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.
Delete this few lines I wrote when you have updated this entry PLZ.

Navigation menu