By Mandoble
Provides air support console to the player and player's vehicle. The script supports player's respawns and allows you to provide also custom conditions to allow the usage of the console. Execute it preferabily from your init.sqf.
| Script parameter | Description |
Action text | text to be displayed in the action. |
Condition extra | By default, the script check alive state of player + this condition. This condition is code, for example {rank player == "CORPORAL"}, set this condition as if it were the body of an if then block. Use this to set any conditions you want to check to provide console. You need to provide a condition, if you dont know what to put here, use {alive player} |
Examples:
Console provided if player is corporal
res = ["Air Support Console", {rank player == "CORPORAL"}]execVM"mando_bombs\mando_giveme_console.sqf";
Console provided if player is driver inside an HMMWV
res = ["Air Support Console", {(typeOf vehicle player == "HMMWV") && (player == driver vehicle player)}]execVM"mando_bombs\mando_giveme_console.sqf";