IsElementOnFire: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Shared function}} {{New feature/item|3.0161|1.6.0|22864|This function checks if the specified element is on fire or not.}} ==Syntax== <syntaxhighlight lang="lua"> bool isElementOnFire ( element theElement ) </syntaxhighlight> {{OOP||element:isOnFire|onFire|setElementOnFire}} ===Required Arguments=== *'''theElement''': The element to check. ===Returns=== Returns ''true'' if the element is on fire, ''false'' otherwise. ==Example== {{Needs Ex...") |
m (→Example) |
||
Line 16: | Line 16: | ||
==Example== | ==Example== | ||
{{Needs | {{Needs Example}} | ||
==See Also== | ==See Also== | ||
{{Element functions}} | {{Element functions}} |
Latest revision as of 03:17, 31 December 2024
Syntax
bool isElementOnFire ( element theElement )
OOP Syntax Help! I don't understand this!
- Method: element:isOnFire(...)
- Variable: .onFire
- Counterpart: setElementOnFire
Required Arguments
- theElement: The element to check.
Returns
Returns true if the element is on fire, false otherwise.
Example
Script Example Missing Function IsElementOnFire needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
See Also
- attachElements
- createElement
- destroyElement
- detachElements
- getAttachedElements
- getElementAlpha
- getElementAttachedOffsets
- getElementAttachedTo
- getElementByIndex
- getElementByID
- getElementChild
- getElementChildren
- getElementChildrenCount
- getElementCollisionsEnabled
- getElementColShape
- getElementData
- getAllElementData
- hasElementData
- getElementDimension
- getElementHealth
- getElementID
- getElementInterior
- getElementMatrix
- getElementModel
- getElementParent
- getElementPosition
- getElementRotation
- getElementsByType
- getElementsWithinColShape
- getElementsWithinRange
- getElementType
- getElementVelocity
- getLowLODElement
- getRootElement
- isElement
- isElementAttached
- isElementCallPropagationEnabled
- isElementDoubleSided
- isElementFrozen
- isElementInWater
- isElementLowLOD
- isElementWithinColShape
- isElementWithinMarker
- setElementAlpha
- setElementAngularVelocity
- getElementAngularVelocity
- setElementAttachedOffsets
- setElementCallPropagationEnabled
- setElementCollisionsEnabled
- setElementData
- setElementDimension
- setElementDoubleSided
- setElementFrozen
- setElementHealth
- setElementID
- setElementInterior
- setElementModel
- setElementParent
- setElementPosition
- setElementRotation
- setElementVelocity
- setLowLODElement
- getPedContactElement
- getResourceDynamicElementRoot
- getResourceRootElement