Search the Community
Showing results for tags 'ai.'.
Found 3 results
-
Complete newbie to Arma3 scripting and was wondering if there's a AI transport script that's already been done, that's compatible with multiplayer?
-
restructure script. "Suicide bomber" with damaging area instead of exploding
Mekrell posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Heya so i have been looking at 2 scripts pretty much and i want to combine these as well as the spoopy function but as i am new to scripting in sqf i honestly have little clue as to how to go about it The first script as the title suggests is the suicide bomber script made by zooloo75 in this post: The second script being this killing players through exposure made/shown by DayZ medic in this video: So basically im trying to make a unit that runs at the player group and when within a certain range it will run the exposure script for the players inside said area around the unit im thinking its probably easiest to "replace" the explosive part of the suicide bomber script aka this part { _runCode = 0; _explosive = _explosiveClass createVehicle (position _bomber); [_bomber] spawn {_bomber = _this select 0; sleep 2; _bomber say3D "shout"; _explosive setDamage 1; _bomber addRating -10000000;}; [_explosive,_bomber] spawn {_explosive = _this select 0; _bomber = _this select 1; waitUntil {!alive _bomber}; deleteVehicle _explosive;}; if(round(random(1)) == 0) then { _explosive attachTo [_bomber,[-0.02,-0.07,0.042],"rightHand"]; } else { _explosive attachTo [_bomber,[-0.02,-0.07,0.042],"leftHand"]; }; }; with the exposure script but again im very new to sqf and scripting so im a bit at a loss for how to go about it... I hope someone can help as i have been looking around the forum for quite a bit now especially the AI script compilation (great help for searching!) -
Hello there, How can I give AI a custom death animation. (from an addon) It's for my "cinematic movie" I tried to combine "IF statement" and "switchmove" for example " if _soldier1 alive false switchmove ....; But it didn't work properly. If anybody could help, I would appreciate. Thanks :)