Subversion-Projekte sthq.argas

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
46 lars 1
//Generated by BehavEd
2
 
3
rem ( "Sentry Droid random attack modes" );
4
set ( /*@SET_TYPES*/ "SET_PLAYER_TEAM", /*@TEAM_NAMES*/ "TEAM_IMPERIAL" );
5
set ( /*@SET_TYPES*/ "SET_ENEMY_TEAM", /*@TEAM_NAMES*/ "TEAM_STARFLEET" );
6
set ( /*@SET_TYPES*/ "SET_AGGRESSION", $random( 1 , 5 )$ );
7
set ( /*@SET_TYPES*/ "SET_AIM", $random( 1 , 5 )$ );
8
set ( /*@SET_TYPES*/ "SET_ENEMY", "Munro" );
9
 
10
loop ( -1 )
11
{
12
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN_AND_SHOOT" );
13
	wait ( $random( 6000, 10000 )$ );
14
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
15
	wait ( $random( 2000, 4000 )$ );
16
}
17