InitKeyGizmo: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{codepointer |description=Heretic coloured key orb statue maintenance. |usage='''InitKeyGizmo''' |examples= From base/heretic/things.edf: Spawn: KGZ1 A 1 KGZ1 A 1 A...")
 
(No difference)

Latest revision as of 01:49, 21 April 2020

Description

Heretic coloured key orb statue maintenance.

Usage

InitKeyGizmo

Parameters

No parameters.

Examples

From base/heretic/things.edf:

 Spawn:
   KGZ1 A 1
   KGZ1 A 1 A_InitKeyGizmo
   goto Super::Spawn

Notes

This codepointer is highly dependent on the thing type and won't work for anything else than designed for in Heretic.

If actor thingtype is KeyGizmoBlue, KeyGizmoGreen or KeyGizmoYellow, it spawns a KeyGizmoOrb at 60 units above floor over the thing, switching it to state label Blue, Green or respectively Yellow. It won't work if actor's thingtype isn't of any of the mentioned names.

See also