Jump to content
Sign in to follow this  
lonewolf12

moveInDriver multiplayre

Recommended Posts

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

Edited by lonewolf12
more info

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

You need to use action if you want this to work in MP

man1 action ["GetInDriver", heli1];

Share this post


Link to post
Share on other sites

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

Edited by lonewolf12

Share this post


Link to post
Share on other sites

Radio triggers do not use the condition statements and they do not create a list of what activated them.

Radio triggers are available to everyone anywhere when placed on the map if they have a radio, you can hide them from certain people using setRadioMsg in combination with a another trigger, gamelogic or script etc but your going to be hard pushed to get it working well and knowing what player actually used the radio trigger.

Your best option is maybe use addaction/CommsMenu instead

Edited by Larrow

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Sorry should of been more clear,

Once, repeatedly ,detected by etc are not used.

the condition is, if you put false in the condition then you can see the radio e.g 0,0,radioAlpha but on activating it the OnAct is not processed.

As this usually refers to the conditions above i can only presume that on the trigger being a radio trigger this is presumed to mean true.

Just try the difference between a BLUFOR,Present trigger with

hint str thislist

in the OnAct and a radio trigger with the same.

Standard trigger will hint a list of what activated it where as the radio trigger will always return an empty array.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×