Jump to content
Far East Lieutenant

Issues unsolved on my mission

Recommended Posts

Looking at your error, it seems you have replaced p1, p2, p3, by getpos P1, getpos P2... to make it work for the setMarkerPos.

Now you have a pos (an array) instead of an object (unit player)...

So let the script as it was formerly (with p1, p2...) and write:

 

 if (!isNull _x#1) then {_x#0 setMarkerPos getPos _x#1}

 

Now, everything should work. _x#1 is something like a unit (p1,p2...) _x#0 is a string as marker name, and all is consistent.

Share this post


Link to post
Share on other sites

^^ did not work either. Whatevs. I will just use the method I had in the first place.

Share this post


Link to post
Share on other sites
On 12/24/2018 at 12:56 PM, JohnKalo said:

Merry Christmas @Far East Lieutenant! Hope you all have a great time. It does indeed not work @Grumpy Old Man

It shows this error:

 

arma3-x64-2018-12-24-13-49-56-71.jpg

 

Tried changing the condition but errors kept on popping up. How can this be fixed please?

Guess sqf strikes again, for some reason # demands brackets if another command is involved (if I remember correctly),

something like this might fix it:

!isNull (_x#1)

Cheers

Share this post


Link to post
Share on other sites
On 28.12.2018 at 3:10 PM, Grumpy Old Man said:

Guess sqf strikes again, for some reason # demands brackets if another command is involved

The increased priority of # is the only advantage of it.

But uanry command priority is still higher.

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

×