shark-attack 2 Posted December 31, 2007 hi all another thing has me stumped .. in a co op mission(wip) i have an option of day or night for the players (via parameters) to choose from .. how could i lower the skill level of the ai if night time option is selected ... many thanx in advance ... Share this post Link to post Share on other sites
Johnnie_Walker 0 Posted December 31, 2007 Maybe http://community.bistudio.com/wiki/setSkill or http://community.bistudio.com/wiki/setSkill_array Share this post Link to post Share on other sites
shark-attack 2 Posted December 31, 2007 thanx form heads up mate but how do i do this if only night time option is selected Share this post Link to post Share on other sites
Johnnie_Walker 0 Posted January 2, 2008 Lets say the daytime is set as param1 in the description.ext file. In your init file you check the value. ? (param1 == "Night"):setdate(...);{setskill x} forEach units ...; Hope it helps. Share this post Link to post Share on other sites
shark-attack 2 Posted January 2, 2008 thanx for replys but this has got me stumped heres what i got description ext ////////////////////////////// titleParam1 = "START TIME:"; valuesParam1[] = {0,9,}; defValueParam1 = 0; textsParam1[] = {"dusk attack","dawn attack",}; /////////////////////////////// in my init sqs i have skiptime param 1 how exactly do i set then check the values so if night is selected i can lower the skil level of the ai or if daytime is selected i can raise the skill of the ai many thanx in advance Share this post Link to post Share on other sites
ZNorQ 0 Posted January 3, 2008 Maybehttp://community.bistudio.com/wiki/setSkill or http://community.bistudio.com/wiki/setSkill_array As I've understood, setSkill_array isn't properly implemended yet - can any confirm this? ZNorQ Share this post Link to post Share on other sites
CarlGustaffa 4 Posted January 3, 2008 Well, if you actually click the link for the array version, this is what it says in the top row: This is a reserved keyword for future implementations. In Armed Assault it is not implemented yet. So... Sorry, couldn't resist Share this post Link to post Share on other sites
Johnnie_Walker 0 Posted January 4, 2008 Someone remove it from arma scripting command list then. I bet there are mission makers out there able to give a good answer to this question. Edit: typing Share this post Link to post Share on other sites
scars09 9 Posted January 4, 2008 trigger delete the true write in param1 action: {_x setskill whatever} foreach units groupname or to cover all units easily make a real big (combat area covering) trigger wich is triggered by side (west,east) activation: true and param1 action: {_x setskill whatever} foreach units list triggername Share this post Link to post Share on other sites
ZNorQ 0 Posted January 4, 2008 Well, if you actually click the link for the array version, this is what it says in the top row:This is a reserved keyword for future implementations. In Armed Assault it is not implemented yet. So... Sorry, couldn't resist Try to keep in mind that there is actually an v1.09 patch, which could mean that this information is out of date? Hence my reply. Share this post Link to post Share on other sites