SpawnSphere
Engine/source/T3D/missionMarker.h
Public Types
enum
SpawnSphereMasks { UpdateSphereMask = Parent::NextFreeMask NextFreeMask = Parent::NextFreeMask << 1 }
Private Types
Parent
Public Attributes
Public Functions
advanceTime(F32 dt)
Advances simulation time for animations.
DECLARE_CALLBACK(void , onAdd , (U32 objectId) )
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Instructs this object to pack its state for transfer over the network.
processTick(const Move * move)
Processes a move event and updates object state once every 32 milliseconds.
spawnObject(String additionalProps)
unpackUpdate(NetConnection * conn, BitStream * stream)
Instructs this object to read state data previously packed with packUpdate.
Public Static Functions
Detailed Description
Public Types
SpawnSphereMasks
Enumerator
- UpdateSphereMask = Parent::NextFreeMask
- NextFreeMask = Parent::NextFreeMask << 1
Private Types
typedef MissionMarker Parent
Public Attributes
bool mAutoSpawn
F32 mIndoorWeight
F32 mOutdoorWeight
F32 mRadius
String mSpawnClass
String mSpawnDataBlock
String mSpawnName
String mSpawnProperties
String mSpawnScript
bool mSpawnTransform
F32 mSphereWeight
Public Functions
SpawnSphere()
advanceTime(F32 dt)
Reimplemented from: ProcessObject
DECLARE_CALLBACK(void , onAdd , (U32 objectId) )
DECLARE_CONOBJECT(SpawnSphere )
inspectPostApply()
Reimplemented from: MissionMarker
onAdd()
Reimplemented from: MissionMarker
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: MissionMarker
processTick(const Move * move)
Reimplemented from: GameBase
spawnObject(String additionalProps)
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: MissionMarker