lonewolf12
Member-
Content Count
30 -
Joined
-
Last visited
-
Medals
Everything posted by lonewolf12
-
if you think that that editor is user friendly you need your head examining
-
all i want to do is... make newly spawned ai go to a waypoint (help needed!)
lonewolf12 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Im having trouble writing a script that ensures that my newly created ai go to a waypoint. firstly i have made a spawn script which activates when all enemy ai are dead. _j = i; while {_j > 0} do { "O_Soldier_TL_F" createUnit [getMarkerPos "mark1", eastside]; hint "TESTING!!!!"; _j = _j - 1;}; i = i + 1; then in order to get them to move i add a waypoint in the same script (activates when all ai are dead) way1 = eastside addWaypoint [getMarkerPos "mark2", 5]; way1 setWaypointType "MOVE"; and from research on the internet i have put eastside = group this in the ai units init i spawn in the editor. EDIT trying this now.... _enemy = [getMarkerPos "mark1", EAST, ["O_Soldier_TL_F"] call BIS_fnc_spawnGroup; EDIT /* still would really appreciate any input!!!! */ -
all i want to do is... make newly spawned ai go to a waypoint (help needed!)
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
yeah the i variable is in the init file. just to ask, did u get the error? thanks ill try looking at all those things. im pretty sure it errors at the _j - 1 bit or whatever it is... anyway ill sort it one day lol -
all i want to do is... make newly spawned ai go to a waypoint (help needed!)
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this is driving me crazy! i dont know what it is! -
most of the physics in this game are pretty unrealisitic. helicopters cars
-
all i want to do is... make newly spawned ai go to a waypoint (help needed!)
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks for the reply, ill reply to this thread once i figure it out -
Virtual Ammobox System (VAS)
lonewolf12 replied to tonic-_-'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
good question now i know! -
all i want to do is... make newly spawned ai go to a waypoint (help needed!)
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
just gotta drag this thread up again for a quick question... is anything wrong with this code? because you see ive gone to rebuild this mission in the beta, and im getting the error " |#|; };" missing "{" thanks for any help...seems strange since i copied what id wrote before and that worked ok... -
they really need to take this out. Everyone ive spoke to says it makes them feel ill. Really gives the impression that the developers arent in touch with the users when they release something like this. Sooner the better. Nice idea, but if you want to play for two hours straight this is going to be nothing but disorienting. In arma 2 it was the fiddly animations that were unsettling, arma 3 is a breath of fresh air. This fatigue blur is claustrophobic.
-
help a brother out - need some clarification on arma 3 scripting
lonewolf12 replied to seannybgoode's topic in ARMA 3 - MISSION EDITING & SCRIPTING
weird -
Creating a Variable With a Value then add/subtract
lonewolf12 replied to ra1n0fpa1n's topic in ARMA 3 - MISSION EDITING & SCRIPTING
dont understand? ---------- Post added at 01:49 ---------- Previous post was at 01:48 ---------- ah yeah thats right i = i + 1 -
Creating a Variable With a Value then add/subtract
lonewolf12 replied to ra1n0fpa1n's topic in ARMA 3 - MISSION EDITING & SCRIPTING
just like to say i have recently made a mission in which all that i put in the init file was i = 1; and i was able to reference that throughout my mission. you can then just put i = i ++; in your scripts -
im trying to get a player to move into a helicopter mid game when a trigger goes off. At the moment i just have man1 moveInDriver heli1; in the On Activation field. The trigger goes off (as text displays) but no movement. Helicopter is named heli1 and soldier is named man1..... Any ideas EDIT its an EMPTY class helicopter ----------------- MORE INFO: (thisList select 0) moveInDriver helcopter_name; this makes the person who activated the trigger = thislist select 0 works well, not with radio tho
-
moveInDriver multiplayre
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks larrow, looking into that. (i would of thought radio triggers do because it has "this" so you could do "this &&".....) but yeah im gonna give up on that and just mabye do it spawn a helicopter or something...... making a mission which has waves of enemies -
moveInDriver multiplayre
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
i dont think this works sadly, and i cant find ANYWHERE on the net where they say this is possible. although i think this list might work..............ill have to google thislist Today, 09:51 #5 Varanon Join Date May 3 2009 Posts 323 In the On Activation field, you get the preset variable thisList that will contain the units that are in the trigger and satisfy the trigger condition. Alternatively "list <trigger name>" will get you that list as well See here OnActivation would in your case look like Code: (thisList select 0) moveInDriver helcopter_name; Last edited by Varanon; Today at 09:54. Reason: Additional info FHQ Coop Pack #1 | FHQ Coop Pack #2 | Alwarren's ArmaDev for Eclipse | FHQ Debug Console Join the CiA Coop Nights ---------- Post added at 12:10 ---------- Previous post was at 12:08 ---------- thanks Varanon, im gonna try that now ---------- Post added at 12:22 ---------- Previous post was at 12:10 ---------- it works but only with "blufor present", i tried it with radio alpha and it didnt work. perhaps if i make it countdown.....hmm -
moveinDriver - the person who activated the trigger....
lonewolf12 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
i want someone who activated a trigger (through radio) to get moved into a helicopter. is there anyway of refering to the person who activated a trigger? -
moveinDriver - the person who activated the trigger....
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
i dont think this works sadly, and i cant find ANYWHERE on the net where they say this is possible. although i think this list might work..............ill have to google thislist -
moveinDriver - the person who activated the trigger....
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks for the reply -
moveInDriver multiplayre
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
k ive sorted this out anyway, dunno what was wrong but seems to work now...... what i want now is for someone who activated a trigger (through radio) to get moved into a helicopter. is there anyway of refering to the person who activated a trigger? -
Virtual Ammobox System (VAS)
lonewolf12 replied to tonic-_-'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
great ammo box tonic, im using it in my mission im building now, it automatically adds the new snipers which is cool! love the save loadout thing aswell -
Scripts in multiplayer executing for every player (need it to just execute once...)
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks of your reply! gona go try this now ---------- Post added at 11:12 ---------- Previous post was at 10:23 ---------- seems to have done the trick -
Scripts in multiplayer executing for every player (need it to just execute once...)
lonewolf12 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Finally fired up my game mode that i have being working on all day (most of which was looking for answers on scripting language lol) and it is executing the script every time for each person who is in the multiplayer room! any ideas on this, im sure its a common thing ( i hope) he is the script that is being exec when a trigger goes off _j = i; while {_j > 0} do { _group = [getMarkerPos "mark1", EAST, ["O_Soldier_TL_F"]] call BIS_fnc_spawnGroup; _wp = _group addWaypoint [getMarkerPos "mark2", 5]; _wp setWaypointType "MOVE"; _j = _j - 1;}; i = i + 1; h = i - 1; hint format ["Level %1",h]; would really appreciate any tips on how to tackle this, it might be simple it might be complex i have no idea lol -
all i want to do is... make newly spawned ai go to a waypoint (help needed!)
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks very much -
Setting Color of Offroad?
lonewolf12 replied to chaseh27's topic in ARMA 3 - MISSION EDITING & SCRIPTING
so the init field of the vehicle? -
all i want to do is... make newly spawned ai go to a waypoint (help needed!)
lonewolf12 replied to lonewolf12's topic in ARMA 3 - MISSION EDITING & SCRIPTING
aah thanks alot, ill try doing it that way later/tomoro right the next problem is......... ive finally fired up my game mode ive being working on all day (most of which was looking for answers on scripting language lol) and it is executing the script every time for each person who is in the multiplayer room! any ideas on this, im sure its a common thing ( i hope)