Object Check Functions¶
gObjIsChangeSkin(aIndex)¶
Returns whether the player has an active skin transformation.
gObjCheckMaxMoney(aIndex, money)¶
Checks if adding money would exceed the maximum Zen limit.
gObjCheckPersonalCode(aIndex, personalCode)¶
Validates the player's personal (numeric) code.
- Returns:
boolean
gObjCheckResistance(lpObj, type)¶
Checks the object's resistance to a given damage/effect type.
gObjCheckTeleportArea(aIndex, map, x, y)¶
Checks if teleportation to the given location is allowed.
gObjCheckMapTile(map, x, y, attr)¶
Checks map tile attributes at the given position.
MapCheckAttr(mapNumber, x, y, attr)¶
Checks if a map tile has the specified attribute flag.
- Returns:
boolean
gObjCheckWarStatus(lpObj) / gObjCheckDuelStatus(lpObj)¶
Check if the player is in a guild war or duel.
gObjCheckInterfaceBlockAccions(lpObj)¶
Checks if the player's interface is blocked (e.g., in trade, shop, etc.).
if gObjCheckInterfaceBlockAccions(player) then
GCNoticeSend(player.Index, 1, "Close all windows first.")
end
gObjCheckTileArea(map, x, y, range)¶
Checks tile attributes in an area around the position.
gObjCheckAttackArea(aIndex, bIndex, range)¶
Checks if attack is valid in the area between two objects.
gObjCheckAutoParty(aIndex)¶
Checks if the player has auto-party enabled.
Help