jhonenglish
Member-
Content Count
16 -
Joined
-
Last visited
-
Medals
Everything posted by jhonenglish
-
thanks for replying to my question. How can i slove this problem?
-
Hello, im trying to play this animation "Acts_welcomeOnHUB05_PlayerWalk_3" in a cut scene, im using the SwitchMove command, after a few moments the ai stop moving but keep doing the animation stationery, anyome knows why?
-
Hey, so i made an intro for a MP game [using the intro phase, not in the scenario phase], how can i get everyone to see the intro? because when i place playble units in the scenario phase it skips the itnro all together [in multiplayer]
-
Problem with a While loop
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks. solved the problem... distance condition is not what i need, i needed the camera to follow somthing to a certain amount of time. -
Hello there and thank you for giving attention to to my problem. Im creating an intro in which a camera follows a player (see below), but for some reason it wont exit the while loop, anybody got an idea why? StopFollowing = 0; Follow = 0; T1 = createTrigger ["EmptyDetector", [0,0,0] , false]; T1 setTriggerStatements ["StopFollowing = 1","Follow = 1",""]; T1 setTriggerTimeout [5, 5, 5, false]; // i set this trigger with a timeout so it will turn the While condition false after 5 sec StopFollowing = 1; titleCut ["", "BLACK OUT", 2]; sleep 1; titleCut ["", "BLACK IN", 3]; while {Follow isEqualTo 0} do { _camera camPrepareTarget man1; _camera camPrepareRelPos [1,1,3]; _camera camPrepareFOV 0.700; _camera camCommitPrepared 0; WaitUntil {camCommitted _camera}; };
-
Hello there. Ive been trying to set conditions to waypoints to activate but the ai moves there before activation. tryed all sorts of condtions, anyone else having the same problem? any solutions?
-
WayPoint activation
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thx -
hi, im trying to script an action that its condition will be that you are not visible to enemy units. *( the idea is that you can switch your identitiy (i made an action for that) by luting a dead enemy corpse, but it will be stupid if this works when the enemy can see you doing it)* i tried to do this: _visibilityCheck = {[objNull, "VIEW"] checkVisibility [eyePos (_this select 1), eyePos _x];} forEach (allUnits select {side _x isEqualTo east}); if (_visibilityCheck > 0) then {code...}. ------------------------ but it wont work, any ideas why?
-
Hello, im making a stealth mission where if my guys get detected they lose, but i want them to have a chance to kill the the ai who spotted them before he communicates to the rest of his fellow ai waht he saw, for this i tried to set the condition on my trigger Timeout for 20 sec, so that the condition of the guys being spotted by enemeis must happen for at least 20 sec before it triggers, the problem is that even if we kill the ai within a short time we are still considered spwaned. any suggestions how to make thai forget us after we killed the ai who spotted and there is no other ai around?
-
Help with While loop
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thx alot guys -
ive been trying to run this code the problem is that once one of the conditions in the "waitUntil" is true it keeps looping non stop, i tried to delete the group that was killed as you see below, but it didnt help. if anyone has any ideas it would be great. while {true} do { waitUntil {({alive _x} count units A == 0) or ({alive _x} count units B == 0)}; hint "boom yah"; A forgetTarget player1; // A & B are group names B forgetTarget player1; sleep 3; }; if (({alive _x} count units A) == 0) then {deleteGroup A}; if (({alive _x} count units A) == 0) then {deleteGroup B};
-
Making AI forget you
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks alot, im only just started coding so htis is alot of help! -
Help with While loop
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thx, but i want this code to activate whenever a group is killed not just once, but the problem is once a group is all dead it keeps repeating without removing that group from the list -
Making AI forget you
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thx, how do i get the unit and killer? these variables change cause any player can kill anu ai. ive thought maby to do somthing like this: ----------------------------- waitUntil {{alive _x} count units _myGroup == 0}; _enemy Group forgetTarget _myPlayer; ------------------------------- worked, but the problem is that now i need to define all the enemy groups and set a code for each: while {true} do { waitUntil {({alive _x} count units A == 0) or ({alive _x} count units B == 0)}; A forgetTarget player1; B forgetTarget player1; } -
Making AI forget you
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
but how do i make them forget only when i killed the spotter in a certain amount of time -
Making AI forget you
jhonenglish replied to jhonenglish's topic in ARMA 3 - MISSION EDITING & SCRIPTING
but how do i make them forget only when i killed the spotter in a certain amount of time