Jump to content
Sign in to follow this  
TYsiEK

Addaction command

Recommended Posts

Are addaction command is working only with scripts ??

Can i make somethink like addaction["ACTIONNAME","aP action ["EJECT"]"] confused.gif .

Share this post


Link to post
Share on other sites

I think AddAction works only with scripts, so your example shouldn´t work.

But you can simply write your eject command in a script and call this script with AddAction

aP addaction["ACTIONNAME","eject.sqs"]

;eject.sqs;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;I think action ["EJECT", ...] needs also the Vehicle to eject

;from as parameter, not sure though

aP action ["EJECT", Vehicle aP]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

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  

×