User Tools

Site Tools


4rpl:commands:setmversecreatesunitghost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
4rpl:commands:setmversecreatesunitghost [2021/07/06 07:46] – Use this inside gameloaded Grabz4rpl:commands:setmversecreatesunitghost [2024/01/16 15:41] (current) Grabz
Line 11: Line 11:
 Specifies if a custom unit will create an mverse ghost. An mverse ghost is the colored representation of a unit that is seen by other mverse players. If a ghost is created it will match the general look and position/rotation of the custom unit.  The ghost can be enabled/disabled at run time and will appear and disappear on clients.  This call only works for custom units. By default, custom units create ghosts. Specifies if a custom unit will create an mverse ghost. An mverse ghost is the colored representation of a unit that is seen by other mverse players. If a ghost is created it will match the general look and position/rotation of the custom unit.  The ghost can be enabled/disabled at run time and will appear and disappear on clients.  This call only works for custom units. By default, custom units create ghosts.
  
-It is suggested to use this call inside [[func_gameloaded|:GameLoaded]] so that it is called properly for mverse clients. [[func_awake|:Awake]] or [[func_once|:Once]] will work for host but not clients.+For custom units that are pre-placed in the map, it is suggested to use this call inside [[func_gameloaded|:GameLoaded]] so that it is called properly for mverse clients after they download the map from the host. [[func_awake|:Awake]] or [[func_once|:Once]] will work for pre-placed units on the host player,  but not client players.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/setmversecreatesunitghost.txt · Last modified: 2024/01/16 15:41 by Grabz