Difference between revisions of "NDOII"
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsBeingCarriedBy() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsBeingCarriedBy()</p>Params<br>gameobject - carrier<br>Returns<br>bool - If the object is being carried by the specified object, true. Otherwise false || Is this object currently in the carry slot for this mobile. The carry slot is used when a user has picked up an object but not dropped it.. |
|} | |} | ||
</center> | </center> | ||
Line 17: | Line 17: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsCloaked() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsCloaked()</p>Returns<br>bool - is cloaked true/false || Is the object cloaked. |
|} | |} | ||
</center> | </center> | ||
Line 28: | Line 28: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsContainedBy() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsContainedBy()</p>Params<br>gameobject - container object if its contained, nil if not<br>bool - should we check multiple levles up<br>Returns<br>bool - is the object inside the specified target || Returns true if the object is inside the specified container. |
|} | |} | ||
</center> | </center> | ||
Line 39: | Line 39: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsContainer() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsContainer()</p>Returns<br>bool - true if this object is a container || Returns if its a container object. |
|} | |} | ||
</center> | </center> | ||
Line 50: | Line 50: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsEquipped() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsEquipped()</p>Returns<br>bool - true if item is equipped, false if not || Checks to see if the object is equipped by anyone. |
|} | |} | ||
</center> | </center> | ||
Line 61: | Line 61: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsEquippedOn() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsEquippedOn()</p>Params<br>gameobject - equipper object<br>Returns<br>bool - true if this object is equipped on a given object || Checks to see if the object is equipped on the specified object. |
|} | |} | ||
</center> | </center> | ||
Line 72: | Line 72: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsFull() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsFull()</p>Returns<br>bool - true if full, false if not || Determine if this container is full and cannot accept more items. |
|} | |} | ||
</center> | </center> | ||
Line 83: | Line 83: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsInContainer() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsInContainer()</p>Returns<br>bool - true if object is inside a container || Returns if the object is inside a contianer. |
|} | |} | ||
</center> | </center> | ||
Line 94: | Line 94: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsInRegion() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsInRegion()</p>Params<br>regionname - the name of the region<br>Returns<br>bool - true if is in the specified region || Is the object in the specified region. |
|} | |} | ||
</center> | </center> | ||
Line 105: | Line 105: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsMobile() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsMobile()</p>Returns<br>bool - true if the object is a mobile object || Returns if its a mobile object. A mobile is a special class of object that can travel around fluidly. |
|} | |} | ||
</center> | </center> | ||
Line 116: | Line 116: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsMobileFrozen() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsMobileFrozen()</p>Params<br>bool - true if frozem, false if not || Is the mobile object frozen. This only works for Mobiles. The argument is always set to true,OptionaL check if the mobs turn is frozen also (default true) meaning the argument is unused. |
|} | |} | ||
</center> | </center> | ||
Line 128: | Line 128: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsMoving() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsMoving()</p>Returns<br>bool - true if moving, false if not || Returns true if a mobile is currently moving. |
|} | |} | ||
</center> | </center> | ||
Line 139: | Line 139: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPathingToTarget() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPathingToTarget()</p>Returns<br>bool - true if is pathing, false if not || Returns if the current mobile has a PathToTarget set on it or not. |
|} | |} | ||
</center> | </center> | ||
Line 150: | Line 150: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPermanent() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPermanent()</p>Returns<br>??????? || Returns if this object is a permanent, static object or a dynamic, nonpermanent object. Defined under dynamic objects as well. |
|} | |} | ||
</center> | </center> | ||
Line 161: | Line 161: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPlayer() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsPlayer()</p>Returns<br>bool - true if a player false if not || Is this object a player. |
|} | |} | ||
</center> | </center> | ||
Line 172: | Line 172: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsRegeneratingStat() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsRegeneratingStat()</p>Params<br>statname - stat name<br>Returns<br>bool - true if regenerating stat || Returns true if the specified stat support regen and max value. |
|} | |} | ||
</center> | </center> | ||
Line 183: | Line 183: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsUser() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsUser()</p>Returns<br>bool - has a user attached to, if so true, if not then false || Returns if object has a user attached to it. |
|} | |} | ||
</center> | </center> | ||
Line 194: | Line 194: | ||
{| class="wikitable" | style="width: 60%" | {| class="wikitable" | style="width: 60%" | ||
|- | |- | ||
− | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsValid() || . | + | |style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">IsValid()</p> || . |
|} | |} | ||
</center> | </center> |
Latest revision as of 07:55, 27 November 2019
Object Functions & Examples
IsBeingCarriedBy() Paramsgameobject - carrier Returns bool - If the object is being carried by the specified object, true. Otherwise false |
Is this object currently in the carry slot for this mobile. The carry slot is used when a user has picked up an object but not dropped it.. |
Example
CODE EXAMPLE BLOCK
IsCloaked() Returnsbool - is cloaked true/false |
Is the object cloaked. |
Example
CODE EXAMPLE BLOCK
IsContainedBy() Paramsgameobject - container object if its contained, nil if not bool - should we check multiple levles up Returns bool - is the object inside the specified target |
Returns true if the object is inside the specified container. |
Example
CODE EXAMPLE BLOCK
IsContainer() Returnsbool - true if this object is a container |
Returns if its a container object. |
Example
CODE EXAMPLE BLOCK
IsEquipped() Returnsbool - true if item is equipped, false if not |
Checks to see if the object is equipped by anyone. |
Example
CODE EXAMPLE BLOCK
IsEquippedOn() Paramsgameobject - equipper object Returns bool - true if this object is equipped on a given object |
Checks to see if the object is equipped on the specified object. |
Example
CODE EXAMPLE BLOCK
IsFull() Returnsbool - true if full, false if not |
Determine if this container is full and cannot accept more items. |
Example
CODE EXAMPLE BLOCK
IsInContainer() Returnsbool - true if object is inside a container |
Returns if the object is inside a contianer. |
Example
CODE EXAMPLE BLOCK
IsInRegion() Paramsregionname - the name of the region Returns bool - true if is in the specified region |
Is the object in the specified region. |
Example
CODE EXAMPLE BLOCK
IsMobile() Returnsbool - true if the object is a mobile object |
Returns if its a mobile object. A mobile is a special class of object that can travel around fluidly. |
Example
CODE EXAMPLE BLOCK
IsMobileFrozen() Paramsbool - true if frozem, false if not |
Is the mobile object frozen. This only works for Mobiles. The argument is always set to true,OptionaL check if the mobs turn is frozen also (default true) meaning the argument is unused. |
Example
CODE EXAMPLE BLOCK
IsMoving() Returnsbool - true if moving, false if not |
Returns true if a mobile is currently moving. |
Example
CODE EXAMPLE BLOCK
IsPathingToTarget() Returnsbool - true if is pathing, false if not |
Returns if the current mobile has a PathToTarget set on it or not. |
Example
CODE EXAMPLE BLOCK
IsPermanent() Returns??????? |
Returns if this object is a permanent, static object or a dynamic, nonpermanent object. Defined under dynamic objects as well. |
Example
CODE EXAMPLE BLOCK
IsPlayer() Returnsbool - true if a player false if not |
Is this object a player. |
Example
CODE EXAMPLE BLOCK
IsRegeneratingStat() Paramsstatname - stat name Returns bool - true if regenerating stat |
Returns true if the specified stat support regen and max value. |
Example
CODE EXAMPLE BLOCK
IsUser() Returnsbool - has a user attached to, if so true, if not then false |
Returns if object has a user attached to it. |
Example
CODE EXAMPLE BLOCK
IsValid() |
. |
Example
CODE EXAMPLE BLOCK