InitKeyGizmo

From Eternity Wiki
Revision as of 01:49, 21 April 2020 by Printz (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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