Difference between revisions of "PlayIdleWithTarget - Actor"

282 bytes removed ,  13:45, 24 January 2014
m
→‎Notes: (Last edit)
imported>Terra Nova2
imported>Terra Nova2
m (→‎Notes: (Last edit))
Line 28: Line 28:


== Notes ==
== Notes ==
* This function will send the actor initiating the idle into combat alert state. None of the combat based functions that will remove this state works. The NPC is stuck in combat alert.
*This function will cause the initiating actor to be stuck in combat alert status and unable to come out of it, no matter what combat based functions is called. To fix this, the scene package running with the phase the function is called on, must have the Weapon drawn flag checked. When checked, the alert status is back to normal when the scene ends. See [http://forums.bethsoft.com/topic/1447688-issue-with-playidlewithtarget-and-killer-staying-in-combat-alert/?hl=%2Balert#entry22342004 source] for more info.
One solution is to have another actor use [[ForceGreet (Procedure)]] but it doesn't fix the actor holding an invisible weapon, but this all clears when you exit the location. [http://forums.bethsoft.com/topic/1447688-issue-with-playidlewithtarget-and-killer-staying-in-combat-alert/?hl=%2Balert#entry22342004 source] The OP of that thread and myself seem to be the only ones to encounter this. Needs more testing.
*Upon further examining of vanilla scripts, a fix has been found. Weapon drawn for the scene packages for the actor must be checked. When the scene ends, the actor's alert state returns to normal.


== See Also ==
== See Also ==
Anonymous user