From Savage Game Design Wiki
Jump to navigation
Jump to search
Description
/*
File: fn_traps_punji_tripwire.sqf
Author: Ethan Johnson
Date: 2020-06-11
Last Update: 2020-06-11
Public: No
Description:
Animates punji trip wire trap after it is set off
Parameter(s):
_object - Trap object [OBJECT, defaults to OBJNULL]
_owner - Unit who placed trap [OBJECT, defaults to OBJNULL]
UNKNOWN - UNKNOWN
_position - Mine position [ARRAY, defaults to [0,0,0]]
Returns:
Function reached the end [BOOL]
Example(s):
AmmoHit = "_this call vn_fnc_traps_punji_tripwire;";
*/
Syntax
- Syntax
- [_object,_owner,,_position] call VN_fnc_traps_punji_tripwire;
- Parameters
- _object: Object - (Optional, default
OBJNULL
) Trap object - _owner: Object - (Optional, default
OBJNULL
) Unit who placed trap - UNKNOWN
- _position: Array - (Optional, default
[0,0,0]
) Mine position
- Return value
- Boolean - Function reached the end
Examples
- Example 1
AmmoHit = "_this call vn_fnc_traps_punji_tripwire;";