Difference between revisions of "VN fnc log placeLogisticItem"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Some wiki formatting)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Ethan Johnson
+
|author= Ethan Johnson
 +
 
 +
|a=
  
 
|e=
 
|e=
  
|g1= logistics_functions
+
|g1= Logistics
 
 
|d= <pre>/*
 
        FILE: fn_log_placelogisticitem.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|d= Adds actions for players for the logistics module.
                Adds actions for players for the logistics module.
 
        PARAMETERS:
 
                (0): OBJECT - Player object.
 
                (1): NUMBER - Cursor object that the player is looking at.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_log_placelogisticitem]];
+
|s= [player, cursorObject] call [[VN_fnc_log_placeLogisticItem]]
  
|p1n=
+
|p1n= player
|p1t=
+
|p1t= object
|p1d=
+
|p1d= unused, but must not be null
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= cursorObject
|p2t=
+
|p2t= object
|p2d=
+
|p2d= unused
|p2v=
+
|p2v= {{Biki|objNull}}
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= {{Biki|true}} on success, {{Biki|false}} on failure
  
|x1= <code>-</code>
+
|x1= <code>[player] call [[VN_fnc_log_placeLogisticItem]];</code>
 
}}
 
}}

Latest revision as of 20:18, 26 February 2021

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

Description

Adds actions for players for the logistics module.

Syntax

Syntax
[player, cursorObject] call VN_fnc_log_placeLogisticItem
Parameters
player: Object - unused, but must not be null
cursorObject: Object - (Optional, default objNull) unused
Return value
Boolean - true on success, false on failure

Examples

Example 1
[player] call VN_fnc_log_placeLogisticItem;