setOwner – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

There's one thing I don't understand... Why can't this command set the ownership of a vehicle back to the server? (ID 0, 1, or 2 depending on circumstances) It only appears to be able to transfer the ownership to another client, but not to the server itself. The only way I am otherwise able to achieve that is by moving server AI in driver position, which is kinda clunky... What I'm trying to do is make vehicle ownership go back to the server immediately after a player moves off the driver position, as opposed to when another unit moves in driver position or when the player logs off. AgentRev 08:20, 21 September 2013 (CEST)

It seems you can transfer ownership of server vehicle to a client with setowner but cannot transfer it back to the server --KK