This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
arma3:scripting [2015-06-08 02:16] snakeman added cinemaborder command. |
arma3:scripting [2022-06-25 18:47] (current) snakeman added link. |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ArmA 3 Scripting ====== | ====== ArmA 3 Scripting ====== | ||
- | ====== ArmA 3 Camera ====== | + | See also [[:arma3:missions|ArmA 3 Missions]]. |
- | this exec "camera.sqs" in ArmA 3? | + | **Important!** if you try to test your mission in editor and [[:arma3|ArmA 3]] will give error that script not found, this is because devs in their wisdom added requirement for "-filePatching" [[:arma:startup_parameters|startup parameter]]. If you are not using this parameter then you cannot use scripts in your mission directory (they still work in a PBO), add the parameter and then your mission dir scripts work fine again. Sigh. Tested on arma3 v1.66.139586 |
- | <code php> | + | |
- | [] call BIS_fnc_cameraOld; | + | |
- | </code> | + | |
- | Use it the same way, wasd to move, keypad numbers to rotate / tilt, press LMB to save camera position to clipboard.txt file in profiles dir. | + | | [[arma3:scripting:camera.sqs|Camera.sqs]] | [[arma3:scripting:end-cutscene|End Cutscene]] | [[arma3:scripting:cup-class-names-bis_fnc_spawngroup|CUP Class Names bis_fnc_spawngroup]] | [[arma3:scripting:detect-dedicated-server-or-headless-client|How to detect dedicated server or headless client]] | [[arma3:scripting:server-parameter-viewdistance|Server parameter; viewDistance]] | [[arma3:scripting:unitcapture-unitplay|UnitCapture and UnitPlay]] | [[arma3:scripting:dynamic-simulation|Dynamic Simulation]] | |
+ | | [[arma3:scripting:engine-default-script-names|Engine Default Script Names]] | [[arma3:scripting:cup-description-ext|CUP Description.ext Magazines/Weapons]] | [[arma3:scripting:private-array-keyword|Private Array or Keyword?]] | | ||
- | **Cinemaborder** | + | [[arma3:scripting:add-weapon-attachment|Add Weapon Attachment]]\\ |
- | + | [[arma3:scripting:create-random-cfggroups|Create Random CfgGroups]]\\ | |
- | To turn of cinema borders, do this: | + | [[arma3:scripting:debug-teleport|Debug Teleport]]\\ |
- | <code php> | + | [[arma3:scripting:disableai-all-east-units|disableAI All EAST Units]]\\ |
- | [false] call BIS_fnc_cinemaBorder; | + | [[arma3:scripting:find-all-meadows|Find All Meadows]]\\ |
- | </code> | + | [[arma3:scripting:kill-all-east-units|Kill All EAST Units]]\\ |
- | + | [[arma3:scripting:return-all-east-groups|Return All EAST Groups]]\\ | |
- | + | [[arma3:scripting:uav-drone-terminal|UAV Drone Terminal]]\\ | |
- | ====== ArmA 3 End Cutscene ====== | + | [[arma3:scripting:virtual-artillery|Virtual Artillery]]\\ |
- | + | ||
- | PMCTODO **This scripting part is untested, sorry about that** | + | |
- | + | ||
- | With ArmA 3 cutscenes you can simply use endmission to end them, no need to make variable which you set true and destroy camera. | + | |
- | <code php> | + | |
- | endMission "END1"; | + | |
- | </code> | + | |
- | Or was it this: | + | |
- | <code php> | + | |
- | "end1" call BIS_fnc_endMission; | + | |
- | </code> | + | |