Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
1212PDMCDMPPM

Variable communication between missionNamespace and FSM

Recommended Posts

Hello,

I need some help here as I've reached the limit of my knowledge (not that hard ^^). 

 

I managed to adapt some kind of old "hands up" fsm where AI is surrendering when you look at them. It's working in Arma 3 (I had to modify some animation stuff) and make it work in multiplayer.

 

I now want to try to prevent the animation if the guy is handcuffed through ACE.

 

My issue: how, within the FSM, can I check the "ace_captives_isHandcuffed" variable that is attached to the AI ?

 

the missionNamespace getvariable is unable (as far as I know) to request the variable belonging to an objet.

the with missionNamespace do {} that is supposed to return a value is generating an error when you want to get this value

 

I'm out of options that I'm aware off.

 

Thx for your help !

Share this post


Link to post
Share on other sites

Thx killzone_kid !

 

I forgot to mention that I'm running a doFSM (not returning any handle) on all players in the intialization field.

 

Even if I was using execFSM, how would I be able to manage in one fsm file the different handles of all players ?

Share this post


Link to post
Share on other sites

×