Difference between revisions of "Differences between Player and Holoduke"

From EDukeWiki
Jump to navigation Jump to search
m
m (copyed)
 
Line 1: Line 1:
A player actor and a Holoduke seems to share several attributes. Care must be taken while using events related to an actor APLAYER.
+
A player actor and a Holoduke seem to share several attributes. Care must be taken while using events related to an actor APLAYER.
  
A player and a hologram have the same [[picnum]], [[statnum]], [[yvel]], etc. This is most likely proposital in order to avoid an enemy tell the differences.
+
A player and a hologram have the same [[picnum]], [[statnum]], [[yvel]], etc. This is most likely deliberate, in order to avoid an enemy being able to tell the difference.
  
One difference that seems to be constant is the [[owner]]. A hologram always will return an value of -1. A player will return a specific value, or a value of zero during [[EVENT_EGS]].
+
One difference that seems to be constant is the [[owner]]. A hologram always will return a value of -1. A player will return a specific value, or a value of zero during [[EVENT_EGS]].

Latest revision as of 12:28, 5 February 2015

A player actor and a Holoduke seem to share several attributes. Care must be taken while using events related to an actor APLAYER.

A player and a hologram have the same picnum, statnum, yvel, etc. This is most likely deliberate, in order to avoid an enemy being able to tell the difference.

One difference that seems to be constant is the owner. A hologram always will return a value of -1. A player will return a specific value, or a value of zero during EVENT_EGS.