Tajin 349 Posted May 12, 2014 I just tried putting a "Logic" object into a vehicle as I often did in ArmA2. For some reason though, I couldn't do it. Do Gamelogics behave differently in ArmA3 or am I missing something? This for example didn't work: L1 = createGroup west createUnit ["Logic", [0,0,0], [], 0, "NONE"]; L1 moveInCargo car1; Share this post Link to post Share on other sites
Tajin 349 Posted May 20, 2014 No gamelogic-experts around lately? ;) Share this post Link to post Share on other sites
.kju 3245 Posted May 20, 2014 does the logic exist? if not, is west center created beforehand? Share this post Link to post Share on other sites
Tajin 349 Posted May 20, 2014 Yes I've checked that, the logic does exist. (tried the above directly from the console) I can also setPos and getPos it as usual, it just seems to refuse to react to the "moveInCargo" command. Share this post Link to post Share on other sites
f2k sel 164 Posted May 20, 2014 Yes I've checked that, the logic does exist. (tried the above directly from the console)I can also setPos and getPos it as usual, it just seems to refuse to react to the "moveInCargo" command. I thought logics being placed in vehicles had been disabled in A2, I've never actually tried it. Is it supposed to simulate a live empty vehicle? Share this post Link to post Share on other sites
.kju 3245 Posted May 20, 2014 Ok. Did you also try moveInDriver etc? Share this post Link to post Share on other sites
barbolani 198 Posted May 20, 2014 I'm guessing you want this to occupy seats on cargo of some vehicle. Just an idea: assignascargo some far far away units? Share this post Link to post Share on other sites
das attorney 858 Posted May 20, 2014 This works for me in the editor: (create logic called L1 and vehicle called car1 in the editor). L1 assignAsDriver car1; L1 moveInDriver car1; Share this post Link to post Share on other sites
f2k sel 164 Posted May 20, 2014 This works for me in the editor:(create logic called L1 and vehicle called car1 in the editor). L1 assignAsDriver car1; L1 moveInDriver car1; Nothing happening in A2/OA center = createCenter sideLogic; grp = createGroup center; L1 = grp createunit ["LOGIC",[0,0,0], [],0, "NONE"]; L1 assignAsDriver car1; L1 moveInDriver car1; //[L1] join group player; The logic is created as it can join the player but it's not in the vehicle. Share this post Link to post Share on other sites
BennetArms 1 Posted May 20, 2014 Maybe i don't make sense at all, but would be "attachTo" a solution to it? Share this post Link to post Share on other sites
Tajin 349 Posted May 21, 2014 Ok let me explain what I was trying to do: I wanted to place gamelogics on cargoseats for two reasons: 1. to occupy the seat so noone else can sit there 2. to get the exact position of the seats and use those positions to transport objects (small ammoboxes) Essentially this would allow me to create a very simple cargo-script that works with pretty much any vehicle, without having to be specifically configured. @Das Attorney I'll give it another go when I get home, maybe I just did something wrong. Thanks for checking. Share this post Link to post Share on other sites
f2k sel 164 Posted May 21, 2014 There is always the invisible man found in the UAV Share this post Link to post Share on other sites
das attorney 858 Posted May 21, 2014 I think I may have been wrong - will check again tonight but the results seem inconsistent. Share this post Link to post Share on other sites
Tajin 349 Posted May 21, 2014 There is always the invisible man found in the UAV Oh I didn't think of that one, great idea. I guess that would work. :D Share this post Link to post Share on other sites