ACS actor properties: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m Added APROP_TracerTID |
Crimson Dusk (talk | contribs) No edit summary |
||
| Line 101: | Line 101: | ||
|- |
|- |
||
| <tt>APROP_[[Stamina]]</tt> || Stamina of the actor. |
| <tt>APROP_[[Stamina]]</tt> || Stamina of the actor. |
||
|- |
|||
| <tt>APROP_{{property|Stencilcolor}}</tt> || Stencil color of the actor. {{git|697ef028}} |
|||
|- |
|- |
||
| <tt>APROP_TargetTID</tt> || The TID of the actor linked to by the actor's <tt>target</tt> field. |
| <tt>APROP_TargetTID</tt> || The TID of the actor linked to by the actor's <tt>target</tt> field. |
||
Revision as of 14:45, 31 March 2014
This list the subset of actor properties that are available to the ACS functions CheckActorProperty, GetActorProperty and SetActorProperty.
| APROP_ActiveSound | Sound played when the actor is walking around, as defined in SNDINFO. | ||||||||||||||||||||
| APROP_Accuracy | Accuracy of the actor. | ||||||||||||||||||||
| APROP_Alpha | Alpha value for STYLE_Translucent. Range is [0.0, 1.0] | ||||||||||||||||||||
| APROP_Ambush | Whether the actor's AMBUSH flag is set or not. | ||||||||||||||||||||
| APROP_AttackSound | Sound played when the actor attacks, as defined in SNDINFO. | ||||||||||||||||||||
| APROP_AttackZOffset | The attack z offset of the player. (development version b187451 only) | ||||||||||||||||||||
| APROP_ChaseGoal | Walks to goal instead of target if a valid goal is set | ||||||||||||||||||||
| APROP_Damage | Actor's missile damage | ||||||||||||||||||||
| APROP_DamageFactor | Generic damage factor for the actor. It is applied before any specific DamageFactor. | ||||||||||||||||||||
| APROP_DeathSound | Sound played when the actor dies, as defined in SNDINFO. | ||||||||||||||||||||
| APROP_Dormant | Whether or not actor has the DORMANT flag. | ||||||||||||||||||||
| APROP_Dropped | Whether or not actor has the DROPPED flag. Dropped items are destroyed by closing doors and crushers while non-dropped items are not; and in games with the “Weapons Stay” option of DMFlags turned on, only weapons with the DROPPED flag set to 0 stay. By default, any item not placed originally on the map has the DROPPED flag set to 1. | ||||||||||||||||||||
| APROP_Friendly | Actor is friendly to the player and hostile to enemies. | ||||||||||||||||||||
| APROP_Frightened | Monster runs away from player | ||||||||||||||||||||
| APROP_Gravity | Current gravity factor of actor | ||||||||||||||||||||
| APROP_Health | Actor's current health | ||||||||||||||||||||
| APROP_Height | Actor's current height (New from 5.0.0) | ||||||||||||||||||||
| APROP_Invulnerable | Actor will not lose any health | ||||||||||||||||||||
| APROP_JumpZ | Player's jump height as a fixed point number. The formula for jumping distance is (JumpZ**2)/2+MaxStepHeight, and to get a specific JumpZ from a jumping height you want to achieve, use sqrt((jump height-MaxStepHeight)/2)*2. | ||||||||||||||||||||
| APROP_Mass | Actor's mass. | ||||||||||||||||||||
| APROP_MasterTID | The TID of the actor linked to by the actor's master field. | ||||||||||||||||||||
| APROP_MeleeRange | Actor's melee range (New from 5.0.0) | ||||||||||||||||||||
| APROP_NameTag | Name of the actor. If the actor has not been explicitly named by the Tag property or in a script, its name is by default the same as its class name. | ||||||||||||||||||||
| APROP_NoTrigger | Whether or not actor has the NOTRIGGER flag. | ||||||||||||||||||||
| APROP_NoTarget | Actor cannot be targeted by other monsters | ||||||||||||||||||||
| APROP_PainSound | Sound played when the actor is injured, as defined in SNDINFO. | ||||||||||||||||||||
| APROP_Radius | Actor's current radius (New from 5.0.0) | ||||||||||||||||||||
| APROP_ReactionTime | The time in tics a monster needs to attack back. However, the main use of this property is to serve as a counter for A_Countdown (New from 5.0.0) | ||||||||||||||||||||
| APROP_RenderStyle | How the actor is rendered:
| ||||||||||||||||||||
| APROP_ScaleX | Horizontal scaling of the actor's sprite. Does not affect collision box size. | ||||||||||||||||||||
| APROP_ScaleY | Vertical scaling of the actor's sprite. Does not affect collision box size. | ||||||||||||||||||||
| APROP_Score | A simple counter. Score items automatically increase it by their amount. | ||||||||||||||||||||
| APROP_SeeSound | Sound played when actor sees the player, as defined in SNDINFO. | ||||||||||||||||||||
| APROP_SpawnHealth | The current max health of the actor. Only players may have their max health set this way. Note that for them the default value is 0, which is interpreted as "100 unless modified by DeHackEd". The Player.MaxHealth property can change the default value. | ||||||||||||||||||||
| APROP_Species | Species the actor belongs to. | ||||||||||||||||||||
| APROP_Speed | Actor's speed (This is a fixed point value).
For monsters, this is the distance they move every time | ||||||||||||||||||||
| APROP_Stamina | Stamina of the actor. | ||||||||||||||||||||
| APROP_Stencilcolor | Stencil color of the actor. (development version 697ef028 only) | ||||||||||||||||||||
| APROP_TargetTID | The TID of the actor linked to by the actor's target field. | ||||||||||||||||||||
| APROP_TracerTID | The TID of the actor linked to by the actor's tracer field. | ||||||||||||||||||||
| APROP_ViewHeight | The ViewHeight of the player, (development version b187451 only) | ||||||||||||||||||||
| APROP_Waterlevel | How "submerged" the actor is
|