Jump to content
Sign in to follow this  
anfo

Addaction syntax check

Recommended Posts

Hi

 

Just wondering if someone more gifted than I could please find the problem in the following code?

 

this addAction ["Enter", {player setPos (getPos entry_4b)},[],true,true,"","_this distance _target <0.5"];

 

Share this post


Link to post
Share on other sites

You've got a true where the priority parameter (number) should be.

this addAction ["Enter", {player setPos (getPos entry_4b)},[],0,true,true,"","_this distance _target <0.5"];

Cheers

  • Like 1

Share this post


Link to post
Share on other sites

Thanks GOM 😊

  • Like 1

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  

×