|Description:||Changes the locality of an object.|
This enables players to manipulate an object which is initially not local to their machine (without having to use publicExec for commands that only work on local objects). Passing a parameter of objNull as the host, is no longer force the objects locality. This allows the engine to decide the object new locality, based on its own set of internal rules. For example, a vehicle returns to being local to its driver.
|Syntax:||object setLocalityTo host|
car1 setLocalityTo player;
car1 setLocalityTo objNull;
|See also:||local (Command), publicExec, executeWhereLocal|
At present the objNull parameter does not apply to static objects