fn vbs injury blindness (VBS2)
From Bohemia Interactive Community
VBS2 references on this site are not maintained anymore, and may be outdated!
Please use the new, dedicated VBS2 Wiki instead:
Click on the images for descriptions
Introduced in
- Game:</dt>
- Virtual Battlespace 2</dd>
- Version:</dt>
- 1.30</dd>
Description
- Description:</dt>
- Causes blindness on a given unit, for the specified number of seconds. It affects both AI and player units.</dd>
Syntax
- Syntax:</dt>
- [unit, duration] call fn_vbs_injury_blindness </dd>
- Parameters:</dt>
- unit: Object - unit to be blinded
- duration: Number - seconds to be blinded for
- Return Value:</dt>
- Nothing </dd>
Examples
- Example 1:</dt>
[player, 10] call fn_vbs_injury_blindness;
Additional Information
- Multiplayer:</dt>
- The script should (but doesn't have to) be executed where unit is local.</dd>