createMarkerConditional (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.00
Description
- Description:
- Creates a new marker at the given position on all computers, where condition equals true. The marker name has to be unique.
Syntax
- Syntax:
- createMarkerConditional [markername,position,condition]
- Parameters:
- markername: String -
- position: Position3D -
- condition: String -
- Return Value:
- String
Examples
- Example 1:
"_marker = createMarkerConditional [""Marker1"",position player,""side player == WEST""]"
Additional Information
- Multiplayer:
- Behaviour unknown.

