Difference between revisions of "NDOIE"
Line 5: | Line 5: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObject() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObject()</p>Params<br>gameobject - the objec to equip<br>Returns<br>bool - returns false if object is not valid or not a mobile || Attempt to equip the passed in object onto this mobile. |
|} | |} | ||
</center> | </center> | ||
Line 16: | Line 16: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObjectWithLoc() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObjectWithLoc()</p>Params<br>gameobject - the object to equip<br>location - location inside the corpse container<br>Returns<br>bool - returns false if object is not valid or not a mobile || Attempt to equip the passed in object onto this mobile, also specify a position for where it should appear in the corpse container. This is used for placing equipped objects inside corpse containers. |
|} | |} | ||
</center> | </center> |
Latest revision as of 06:24, 27 November 2019
Object Functions & Examples
EquipObject() Paramsgameobject - the objec to equip Returns bool - returns false if object is not valid or not a mobile |
Attempt to equip the passed in object onto this mobile. |
Example
CODE EXAMPLE BLOCK
EquipObjectWithLoc() Paramsgameobject - the object to equip location - location inside the corpse container Returns bool - returns false if object is not valid or not a mobile |
Attempt to equip the passed in object onto this mobile, also specify a position for where it should appear in the corpse container. This is used for placing equipped objects inside corpse containers. |
Example
CODE EXAMPLE BLOCK