- Added A_ClearLastHeard action function.

SVN r3464 (trunk)
This commit is contained in:
Randy Heit 2012-03-22 21:40:26 +00:00
parent cd122f944b
commit 49aaf9b451
2 changed files with 12 additions and 0 deletions

View file

@ -2008,6 +2008,17 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_LookEx)
// [KS] *** End additions by me *** // [KS] *** End additions by me ***
//==========================================================================
//
// A_ClearLastHeard
//
//==========================================================================
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_ClearLastHeard)
{
self->LastHeard = NULL;
}
//========================================================================== //==========================================================================
// //
// A_Wander // A_Wander

View file

@ -260,6 +260,7 @@ ACTOR Actor native //: Thinker
action native A_QueueCorpse(); action native A_QueueCorpse();
action native A_DeQueueCorpse(); action native A_DeQueueCorpse();
action native A_LookEx(int flags = 0, float minseedist = 0, float maxseedist = 0, float maxheardist = 0, float fov = 0, state label = ""); action native A_LookEx(int flags = 0, float minseedist = 0, float maxseedist = 0, float maxheardist = 0, float fov = 0, state label = "");
action native A_ClearLastHeard();
action native A_ClearTarget(); action native A_ClearTarget();
action native A_JumpIfTargetInLOS (state label, float fov = 0, int flags = 0, float dist_max = 0, float dist_close = 0); action native A_JumpIfTargetInLOS (state label, float fov = 0, int flags = 0, float dist_max = 0, float dist_close = 0);
action native A_JumpIfInTargetLOS (state label, float fov = 0, int flags = 0, float dist_max = 0, float dist_close = 0); action native A_JumpIfInTargetLOS (state label, float fov = 0, int flags = 0, float dist_max = 0, float dist_close = 0);