User Tools

Site Tools


modding:function:objisunderattack

Discuss this page on this pages TalkPage

objIsUnderAttack

See objIsUnderAttack at Xelerus

Syntax (objIsUnderAttack spaceObject)
Arguments spaceObject: The space object you want to see if it is under attack.
Returns condition: True if the space object is under attack. Nil otherwise.
Category condition query, spaceobject
Description Returns if the space object is under attack or not.

Example

(objIsUnderAttack gplayership)

Returns weather or not the player ship is under attack. Return to Functions list

modding/function/objisunderattack.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1