A_RemoveLight
Jump to navigation
Jump to search
native bool A_RemoveLight (Name lightid)
Usage
Removes the dynamic light referenced by the specified identifier from the calling actor. Only dynamic lights attached by either A_AttachLight or A_AttachLightDef can be removed by this function, as they have the capability to assign an identifier to the attached light.
Parameters
- Name lightid
- The identifier for the light to remove, as set by A_AttachLight or A_AttachLightDef.
Return value
Returns true
if the light with the specified lightid was found and successfully removed. Otherwise returns false
.
Examples
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |