Index
MVerse

:!: Available in version 1.9 and later.

SetMVerseCreatesUnitGhost

SetMVerseCreatesUnitGhost(<-unit <-createsMVerseGhost)

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.

For custom units that are pre-placed in the map, it is suggested to use this call inside :GameLoaded so that it is called properly for mverse clients after they download the map from the host. :Awake or :Once will work for pre-placed units on the host player, but not client players.

Examples

:GameLoaded
    SetMVerseCreatesUnitGhost(self false)

Index