Difference between revisions of "OnAdd"

529 bytes added ,  20:15, 1 August 2009
no edit summary
imported>Quetzilla
m (formatting)
imported>Elei-Mi-Shill
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.