Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
dp88_radarInvisibility Class Reference

Radar Invisibility. More...

#include <dp88_misc.h>

Public Member Functions

 dp88_radarInvisibility ()
 

Protected Attributes

int m_originalRadarMode
 The original radar mode of this object.
 
int * m_pPassengerIds
 For vehicles, the ID of each passenger.
 
int * m_pPassengerRadarModes
 For vehicles, the original radar mode of each passenger.
 
int m_nSeats
 For vehicles, cache the number of seats (for Detach() to use)
 

Detailed Description

Author
Daniel Paul (danpa.nosp@m.ul88.nosp@m.@yaho.nosp@m.o.co.nosp@m..uk)

Attach this script to an object to make it invisible to the radar - when the script is detached it will restore the original radar state. If this script is attached to a vehicle it will also make passengers radar-invisible until they leave the vehicle again.

Constructor & Destructor Documentation

◆ dp88_radarInvisibility()

dp88_radarInvisibility::dp88_radarInvisibility ( )
inline

Constructor to prevent crashes in LE due to uninitialised variables