IW4-Dump-Files/animscripts/civilian/civilian_flashed.gsc

19 lines
388 B
Plaintext
Raw Normal View History

2017-07-08 11:47:21 -07:00
#include common_scripts\utility;
#include maps\_utility;
#include maps\_anim;
#include animscripts\shared;
get_flashed_anim()
{
return anim.civilianFlashedArray[ randomint( anim.civilianFlashedArray.size ) ];
}
main()
{
flashDuration = self flashBangGetTimeLeftSec();
if ( flashDuration <= 0 )
return;
animscripts\flashed::flashBangedLoop( get_flashed_anim(), flashDuration );
}