loopdk 92 Posted July 25, 2019 Hallo guys. II have been on google the most of the day to finde a small script that will allow me to go to a object and use a addaction and the get my civilians to become bluefore. All things will be a help right now:D 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted July 25, 2019 Hello there loopdk ! This is an example , just add this in an addaction and it will work for all the civilians (except player) : //________________ Change Side ________________ _Join_East = creategroup east; call{ _changing = allUnits select {(side _x isEqualTo civilian) && (!isPlayer _x)}; _changing apply{ units _x joinSilent _Join_East; }; }; Share this post Link to post Share on other sites
loopdk 92 Posted July 25, 2019 The civilians are players 😕 1 Share this post Link to post Share on other sites
MechSlayer 18 Posted July 25, 2019 _group = createGroup west; {if (side _x == civilian) then {[_x] joinSilent _group;}} forEach allPlayers; Or if you want every player to join blufor _group = createGroup west; allPlayers joinSilent _group; 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted July 25, 2019 5 hours ago, loopdk said: The civilians are players 😕 Haha ! It's good always to add more info ! Share this post Link to post Share on other sites
loopdk 92 Posted July 26, 2019 Sorry mate. Its for oure basic Training. They start as civilians, after a short intro i need them to become bluefor Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted July 26, 2019 11 minutes ago, loopdk said: Sorry mate. Its for oure basic Training. They start as civilians, after a short intro i need them to become bluefor Should everyone be in a single group or individual groups for every player? As already stated, be as precise as possible, doesn't really help when everyone starts posting suggestions when further detail only comes to light when those suggestions don't do what you initially had in mind. A quick bullet list of all wanted functionality goes a long way. Cheers 1 Share this post Link to post Share on other sites
loopdk 92 Posted July 26, 2019 Hmm oki lets se. I got X civilians(not a group) the starts a civilians. then the have a small brifing about 3para-gu. then the go to the armory. there i got a flagpoll where i godt a Addaction...Enroll in the ITC program. Every civilian shall go to the flagpoll and use the addaction so the go from civilian to blueforce Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted July 26, 2019 53 minutes ago, loopdk said: Hmm oki lets se. I got X civilians(not a group) the starts a civilians. then the have a small brifing about 3para-gu. then the go to the armory. there i got a flagpoll where i godt a Addaction...Enroll in the ITC program. Every civilian shall go to the flagpoll and use the addaction so the go from civilian to blueforce Allright, could be as simple as this: //initPlayerLocal.sqf YourFlagpole addAction ["Enroll in the ITC program",{[_this#1] joinSilent createGroup west},[],6,true,true,"","_this isEqualTo vehicle _this and side _this isEqualTo civilian",5] Won't show for anyone but civilians, so once they join an individual blufor group they will no longer see this action. Cheers 3 Share this post Link to post Share on other sites