VN_fnc_traps_punji_tripwire

From Savage Game Design Wiki
Revision as of 20:52, 9 May 2022 by Slow (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
Argument(s): n/a
Effect(s): unknown

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