Search the Community
Showing results for tags 'ai skill'.
Found 3 results
-
AI Skill Script only affecting certain Faction
palokan posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey Guys, i wrote a script to set the AI on the whole server every 10 seconds to certain Values according to the Side it is on for a modded "KP Liberation" Mission. This worked perfectly. But i wanted to change the script for the East Side to better reflect the skill of certain factions. the original script was: while {true} do { { _x setSkill 0.6; _x setSkill ["aimingAccuracy", 0.2]; _x setSkill ["aimingShake", 0.7]; _x setSkill ["aimingSpeed", 0.7]; _x setSkill ["Endurance",0.5]; _x setSkill ["spotDistance",0.6]; _x setSkill ["spotTime",0.8]; _x setSkill ["courage", 0.8]; _x setSkill ["reloadSpeed", 1]; _x setSkill ["commanding", 0.7]; } forEach (allUnits select {side _x == east}); sleep 10; }; this worked exactly as i intended. (is exec. via init.sqf and sets the skills from mission start every 10 seconds so that it includes every spawned unit, even if called by Zeus or any other special way. works great) but now i wanted to change } forEach (allUnits select {side _x == east}); to something that affects only a certain faction like } forEach (allUnits select {faction _x == LOP_TKA}); this line however doesn't work and i can't find any answer how to only call a script on a certain faction, so i was hoping someone in this forum could help me :) PaloKan EDIT: I am an idiot. All i was missing was putting the Faction name into " " to make my scripts work haha. great, now i have differently skilled Middle Eastern Militia, ISIS Soldiers and Russian Elite soldiers to fight <3 Thread can be closed :) /thread -
[TABLE] [TR] [TD]What difficulty preset do you prefer? Recruit, Regular, Veteran or Elite? Please, vote in the poll! If so, please specify how in a post in this thread. [*=left]Do you adjust the AI UNIT SKILL sliders? How? [*=left]Do you change some of the sub-options (Enabled/Disabled)? Which? [*=left]Do you make any manual change inside the .Arma3Profile? [/TD] [TD][/TD] [/TR] [/TABLE] Thank you! Do you adjust the preset of your choice?
- 46 replies
-
- ai skill
- difficulty
-
(and 1 more)
Tagged with:
-
mission sequence problem (on player disconect)
dragonsyr posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have a unit preplaced from editor. when the mission begin, i have an addaction for the players , that can use this unit (movements, waypoints) so far so good. while alive player everything is under control because the script continues. i want ,if the player is dead or disconected for some reason, the unit go back to the initial position and some actions that made before killing or disconnection also remove.(ex. spawned vehicles ) how can i do that? edit: also how can i lock the unit so when a player use it , the other players cant ? same thing here..... i need to unlock when player dies or disconected-
- ai skill
- difficulty
-
(and 1 more)
Tagged with: