S2ENGINE HD 2023
User guide
×
Menu
Index

Targets

Targets are objects used for indicating to the Player a certain point to reach.
During the game they are showed using a 2d image on the HUD and optionally they can also show the distance in meters to the target point.
 
Reaching a target means the player is close to it within a certain radius.
When a target is reached it can optionally send an event/message to a given object (for example a COMPLETED_MISSION to the current mission).
 
The following is the complete list of the parameters specific for a ntarget class object:
6.3.6. Targets
1

captionIcon

1. captionIcon
<TODO>: Insert description text here...
2

showDistance

2. showDistance
<TODO>: Insert description text here...
3

distanceFont related parameters

3. distanceFont related parameters
<TODO>: Insert description text here...
4

iconSize

4. iconSize
<TODO>: Insert description text here...
5

DestroyWhenTaken

5. DestroyWhenTaken
<TODO>: Insert description text here...
6

DestroyRange

6. DestroyRange
<TODO>: Insert description text here...
7

Event related parameters

7. Event related parameters
<TODO>: Insert description text here...
8

ObjectsToAwake

8. ObjectsToAwake
<TODO>: Insert description text here...
9

ObjectsToSleep

9. ObjectsToSleep
<TODO>: Insert description text here...