This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
arma2:scripting [2011-07-24 08:57] snakeman moved stuff to command reference, added common errors link. |
arma2:scripting [2013-05-06 12:49] snakeman added object-compositions link. |
||
---|---|---|---|
Line 11: | Line 11: | ||
* SQS script format will be fully supported in ArmA 2. | * SQS script format will be fully supported in ArmA 2. | ||
- | **initJIPcompatible.sqf** is automatically started at unknown time, best guess would be when JIP player joins? | + | **initJIPcompatible.sqf** initJIPcompatible.sqf gets called from the MP mission framework (scripts in modules MP directory). A script waits until the player object is initialized and execs initJIPcompatible.sqf on clients (all clients, even those that were allready there at mission start as it is basically the same). Has nothing todo with init.sqf. |
[[arma2:scripting:basics_of_sqf|Basics of SQF]] | [[arma2:scripting:basics_of_sqf|Basics of SQF]] | ||
Line 26: | Line 26: | ||
[[arma2:scripting:common_scripting_errors|Common scripting errors]] help you to debug your code. | [[arma2:scripting:common_scripting_errors|Common scripting errors]] help you to debug your code. | ||
+ | |||
+ | [[arma2:scripting:group_in_vehicle|Group in Vehicle]] check. | ||
+ | |||
+ | [[arma2:scripting:bis_fnc_spawngroup|BIS_fnc_spawnGroup]] how to create whole groups from CfgGroups class. | ||
+ | |||
+ | [[arma2:scripting:bis_fnc_findsafepos|BIS_fnc_findSafePos]] how to find safe position with open ground etc. | ||
+ | |||
+ | Global scripts dir or common scripts dir is very useful. This feature has been known since OFP, check out the details from [[arma:scripting#global_scripts_dir|ArmA: Scripting - Global scripts dir]], as same feature works in ArmA 2. | ||
+ | |||
+ | Howto create and use [[arma2:scripting:object-compositions|Object Compositions]] in missions. |