Functions Documentation
View Function Edit Function
Name objIsUnderAttack
Syntax (objIsUnderAttack spaceObject)
Argument List 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 spaceobject, condition query
Description Returns if the space object is under attack or not.
(objIsUnderAttack gplayership)

Returns weather or not the player ship is under attack.
Comment Basic conditional query for space objects.