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
Last revisionBoth sides next revision
4rpl:commands:setmversecreatesunitghost [2021/06/15 01:20] – [Description] Typo fix durikkan4rpl:commands:setmversecreatesunitghost [2021/07/06 07:46] – Use this inside gameloaded Grabz
Line 10: Line 10:
 ===== Description ===== ===== Description =====
 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.
  
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
-SetMVerseCreatesUnitGhost(self false)+:GameLoaded 
 +    SetMVerseCreatesUnitGhost(self false)
 </code> </code>
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/setmversecreatesunitghost.txt · Last modified: 2024/01/16 15:41 by Grabz