InitKeyGizmo

From Eternity Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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