Difference between revisions of "VN fnc traps punji tripwire"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Created page with "{{Function |v= 1.00 |author= |a= |e= |g1= vn_traps_functions |d= <pre>/* File: fn_traps_punji_tripwire.sqf Author: Ethan Johnson Date: 2020-06-11 Last Upda...")
 
 
Line 2: Line 2:
  
 
|v= 1.00
 
|v= 1.00
|author=
+
|author=Ethan Johnson
 
|a=
 
|a=
  
Line 9: Line 9:
 
|g1= vn_traps_functions
 
|g1= vn_traps_functions
  
|d= <pre>/*
+
|d= <pre>Animates punji trip wire trap after it is set off.</pre>
    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;";
 
*/
 
</pre>
 
  
 
|s= [_object,_owner,,_position] call [[VN_fnc_traps_punji_tripwire]];
 
|s= [_object,_owner,,_position] call [[VN_fnc_traps_punji_tripwire]];

Latest revision as of 20:53, 9 May 2022

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

Animates punji trip wire trap after it is set off.

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;";