This article was converted from a previous version of TWHL and may need to be reviewed
- The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
- Some information may be out of date
- After the article is re-formatted and updated, remove this notice and the Review Required category.
- Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Point EntityThis entity allows you to make a monster perform a pre-scripted animation.
Attributes
- Name (targetname) - Property used to identify entities.
- Target (target) - When an entity is activated, it triggers the entity with the name specified by Target.
- Delay before trigger (delay) - Usually the time in seconds before an entity should trigger its target (after being triggered itself). Under other SmartEdit names, delay might also be the time to wait before performing some other action.
- KillTarget (killtarget) - When an entity is triggered, it will remove from the game the entity specified by this property.
- Pitch Yaw Roll (angles) - Sets the pitch (up / down), yaw (left / right) and roll (bank) respectively. The compass in WorldCraft / Hammer corresponds to Yaw. The settings are not always (or not all) used.
- Target Monster (m_iszEntity) - The name of the monster that this script affects (see notes).
- Idle Animation (m_iszIdle) - This is what the monster will return to after performing the Action Animation.
- Action Animation (m_iszPlay) - This is the animation that will be performed by the targeted monster.
- Search Radius (m_flRadius) - The script will look for a valid monster in this radius. Set this to 0 if you want the script to be triggerable only.
- Repeat Rate ms (m_flRepeat) - The above search will be performed with intervals of this length.
- Move to Position (m_flMoveTo) - How the monster moves:<BR>
0 = No - Monster will perform the sequence wherever it is.<BR>
1 = Walk - walks to the location of the aiscripted_sequence, then performs its animation.<BR>
2 = Run - as above, but runs.<BR>
4 = Instantaneous - warps to spot.<BR>
5 = No-turn to face - monster turns to face the aiscripted_sequence, then performs the sequence.
Flags
- Repeatable (4) - Lets the sequence be repeated more than once.
- Leave corpse (8) - If the monster dies during the script, its corpse will be left. If not enabled, the corpse will fade away.
- interpolate (16) - removed
- No interruptions (32) - The script will not stop for any reason.
- Override AI (64) - If this is enabled, the normal AI will be overridden.
- No Script Move (128) - Only turn this on if the monster jumps to a new position after playing the script. It should make the monster re-sync with its AI.
Inputs
Outputs
*
the flowchart just demonstrates how confusing it really apparently is