Difference between revisions of "OnAdd"
Jump to navigation
Jump to search
no edit summary
imported>Elei-Mi-Shill |
imported>Elei-Mi-Shill |
||
Line 18: | Line 18: | ||
In example: | 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 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) | 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. |