Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bear-wiki-testing [2016/03/03 06:20]
bear
bear-wiki-testing [2016/03/03 06:24]
bear
Line 1: Line 1:
 +If you have questions about anything on this page, or if something is not working, contact me (Bear).
 +
 ==== Supply Crates ==== ==== Supply Crates ====
 Supply crates are in the framework by default; they are placed next to every squad leader. The crate object type (and thus appearance) does not matter, and can be picked freely. The existing crates can also be sling-loaded by helicopter pilots. Supply crates are in the framework by default; they are placed next to every squad leader. The crate object type (and thus appearance) does not matter, and can be picked freely. The existing crates can also be sling-loaded by helicopter pilots.
  
-The crate contents are controlled by the assign gear scripts. Each crate will have a line of code in it's init box, more or less identical to this: <code c++>​["​crate_med",​this,"​blu_f"​] call f_fnc_assignGear</​code>​The first parameter (//"​crate_med"//​) passes the desired gear configuration to the script, the second (//this//) references the crate object for the script and the third ("​blu_f"​) tells the gear script which factions gear should be added to the box. In this case, the crate receives a //"​crate_med"//​ loadout from the //"​blu_f"//​ (NATO) faction.+The crate contents are controlled by the assign gear scripts. Each crate will have a line of code in it's init box, more or less identical to this: <code c++>​["​crate_med",​this,"​blu_f"​] call f_fnc_assignGear</​code> ​ 
 +The first parameter (//"​crate_med"//​) passes the desired gear configuration to the script, the second (//this//) references the crate object for the script and the third ("​blu_f"​) tells the gear script which factions gear should be added to the box. In this case, the crate receives a //"​crate_med"//​ loadout from the //"​blu_f"//​ (NATO) faction.
  
 The actual contents to be added is adjusted in the gear script file of the respective faction, e.g. //​f_assignGear_nato.sqf//​ (CTRL+F crate_med). The actual contents to be added is adjusted in the gear script file of the respective faction, e.g. //​f_assignGear_nato.sqf//​ (CTRL+F crate_med).
  • bear-wiki-testing.txt
  • Last modified: 2016/03/03 06:24
  • by bear