Jump to content
Sign in to follow this  
alarm9k

Dedicated server vehicle crew returns NULLs

Recommended Posts

I have:

  • an empty vehicle which is local to dedicated server;
  • 3 soldiers in my group, local to my client.

When the vehicle is empty assignedCommander, assignedGunner and assignedDriver return NULLs, obviously. But when I order the soldiers to move in, the commands still return NULLs. There is only one copy of script, running on the server, so the commands are executed on the server, not locally.

What am I doing wrong, and how do I get the vehicle crew objects in case of dedicated server?

UPDATE: assignedCommander etc commands sometimes do return correct values, but their behaviour is very inconsistent, which means I am missing something about locality.

---------- Post added at 21:12 ---------- Previous post was at 20:24 ----------

Okay, disregard the question, I solved it by replacing 'assignedCommander' with 'commander', and it works globally now.

Edited by alarm9k

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  

×