User Tools

Site Tools


4rpl:commands:setunitminimaptimetoevent

Index

:!: Available in version 1.3 and later.

SetUnitMiniMapTimeToEvent

SetUnitMiniMapTimeToEvent(<-unit <-timeToEvent)

Description

Sets the time, in frames, till some event. When there is an event time greater than 0, the minimap text will be shown above the minimap. The unit icon in the minimap will also blink while there is a time to event set. Note that the time to event must be updated constantly if you want the time to tick down. Also note that there must be a unit minimap image assigned before the time to event will take affect.

Examples

SetUnitMiniMapTimeToEvent(self <-timeLeft)

Index

4rpl/commands/setunitminimaptimetoevent.txt · Last modified: 2021/01/29 18:57 by virgilw