InitKeyGizmo
From Eternity Wiki
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.