Jump to content
Sign in to follow this  
wyattwic

switchMove locality

Recommended Posts

Hello everyone!

 

I seem to be having some issues with switchMove's locality.  The Wiki shows that this command is global and local, however does not give context however all of my switch move commands appear to only be visible locally.

 

Here is an example of the switchmove command I am running -

_unit switchMove "AovrPercMrunSrasWrflDf";

How would yall suggest I make this visible globally?

 

Thank you!

 

Share this post


Link to post
Share on other sites

Ive been doing some more digging into the command.  So far it looks like any client can execute the code specifying another player, however the animation itself is only displayed locally.

 

Any ideas on how to get this showing globally?

Share this post


Link to post
Share on other sites

[_unit,"AmovPercMstpSrasWrflDnon"] remoteexec ['playMove'];

 

playmove or switchmove, same thing kinda....

Share this post


Link to post
Share on other sites

Using playmove does not work for what I am trying to do, however [_unit,"AovrPercMrunSrasWrflDf"] remoteexec ['switchMove']; works perfectly!

 

Thank you!

Share this post


Link to post
Share on other sites

Ive been doing some more digging into the command.  So far it looks like any client can execute the code specifying another player, however the animation itself is only displayed locally.

 

thats exactly what is described in biki.

 

arguments_global.gif  this means that the Arguments of the command can be Global, in your case it means that _unit is not needed to be local on the machine which executes the command.

 

effects_local.gif this means that the Effect of the command is seen Local only on the machine which executes the command.

 

just to clarify :-)

Share this post


Link to post
Share on other sites

I had to double take on that one.  Did not notice it was aG, thought it was eG....

 

Thats what I get for programming at 5 AM...   Thanks!

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  

×