Search the Community
Showing results for tags 'mission start'.
Found 1 result
-
Help with making a Lobby Parameter to call a script or not
4-325Ranger posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm trying to make a Lobby Parameter for a mission where the player can select to enable a script or not. It is set as disabled by default. The script is VCOMAI, I want the player/group to have the option of playing the mission on an easier vanilla setup and also be able to play the mission with a more challenging AI. I've tried a few things, but have not found anything definitive. I need to set up the parameter (class params?) and then set up the call for it (in the init.sqf?). I came up with this, that I put in the description.ext: class Params { class VcomAI { //paramsArray[0] title="VcomAI"; values[]={0,1}; texts[]={"Disabled - meh","Enabled - Bring it on"}; default=0; }; }; but couldn't figure out how to call it from the init.sqf. I'm sure the paramsArray[0] is wrong, but I was trying to follow an old older script - meh... I also looked at a copy of Liberation, as they have several Lobby Parameters, however they are using some scripting that I don't quite follow with .hpp setups etc that are beyond me at this point. Any suggestions? Thanks!- 3 replies
-
- parameter
- lobby parameter
-
(and 2 more)
Tagged with: