- Added A_SetTics.

SVN r3851 (trunk)
This commit is contained in:
Randy Heit 2012-08-24 21:02:49 +00:00
parent 3bfe7b74f4
commit a94cf9d548
2 changed files with 15 additions and 4 deletions

View file

@ -4449,3 +4449,17 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RadiusGive)
}
}
//==========================================================================
//
// A_SetTics
//
//==========================================================================
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetTics)
{
ACTION_PARAM_START(1);
ACTION_PARAM_INT(tics_to_set, 0);
self->tics = tics_to_set;
}

View file

@ -290,6 +290,7 @@ ACTOR Actor native //: Thinker
action native A_SetUserArray(name varname, int index, int value);
action native A_SetSpecial(int spec, int arg0 = 0, int arg1 = 0, int arg2 = 0, int arg3 = 0, int arg4 = 0);
action native A_Quake(int intensity, int duration, int damrad, int tremrad, sound sfx = "world/quake");
action native A_SetTics(int tics);
action native A_CheckSightOrRange(float distance, state label);
@ -323,7 +324,3 @@ ACTOR Actor native //: Thinker
Stop
}
}