Difference between revisions of "OnAdd"

529 bytes removed ,  06: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)
 
(4 intermediate revisions by one other user not shown)
Line 12: Line 12:


[[Category: Blocktypes]]
[[Category: Blocktypes]]
'''Bold text'''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)
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