SetSpecial

From Eternity Wiki
Revision as of 07:48, 25 April 2020 by Printz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Changes actor's assigned special and arguments.

Usage

SetSpecial(special, arg1, arg2, arg3, arg4, arg5)

Parameters

  • special: name or UDMF namespace ID of special to assign to thing. Do not use the ExtraData special ID.
  • arg1-5: the arguments to go with the special. Only numbers are supported.

Examples

No examples given.

Notes

This will change actor's assigned special to the intended one. This special is going to be executed when the actor is killed or picked up.

You can clear an already given special by setting special to 0. A warning message will appear if you provide an invalid special.

See also