A_RearrangePointers

From ZDoom Wiki
Jump to: navigation, search

(development version r3167+ only)
A_RearrangePointers (pointer target, pointer master, pointer tracer[, int flags])

The calling actor performs a transfer of pointer between itself and another actor.

  • target corresponds to the value to store in the target
  • master corresponds to the value to store in the master
  • tracer corresponds to the value to store in the tracer

The pointers can be any of the following:

  • AAPTR_DEFAULT: No change is performed
  • AAPTR_NULL: No actor at all
  • AAPTR_TARGET: The calling actor's target, if any
  • AAPTR_MASTER: The calling actor's master, if any
  • AAPTR_TRACER: The calling actor's tracer, if any

Remember that the nature of these pointers depend on the actor type and is not always intuitive.

Note that setting a target to AAPTR_NULL with this function does not perform all the actions of A_ClearTarget.

Examples

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.


See also

Personal tools
Namespaces

Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox