Squirrel/Server/Functions/Checkpoints/Type
From Liberty Unleashed Wiki
(Difference between revisions)
(New page: __NOTOC__ This ''Checkpoint'' class member returns or sets the type of the checkpoint. Checkpoint type means how it can be hit (on foot, using a ...) |
m |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | This ''Checkpoint'' class member returns or sets the type of the checkpoint. [[Squirrel/Server/Constants#Marker_Types|Checkpoint type]] means how it can be hit (on foot, using a vehicle...) | + | This ''Checkpoint'' class member returns or sets the type of the checkpoint. [[Squirrel/Server/Constants#Marker_Types|Checkpoint type]] means how it can be hit (on foot, using a vehicle...). Defaults to MARKER_TYPE_BOTH. |
== Syntax == | == Syntax == |
Revision as of 06:11, 13 December 2009
This Checkpoint class member returns or sets the type of the checkpoint. Checkpoint type means how it can be hit (on foot, using a vehicle...). Defaults to MARKER_TYPE_BOTH.
Syntax
You can either return or set a new value using this member:
int Checkpoint.Type
Checkpoint.Type = int type
Arguments
- type - This is ID of the new type.
Example 1. Returning
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
-- Example notes/used functions here
Example 2. Setting
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
-- Example notes/used functions here