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 ( "Lab 3 Klingon1 search routine" );
4
 
5
task ( "gotoconsole1" )
6
{
7
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_WALK" );
8
	set ( /*@SET_TYPES*/ "SET_NAVGOAL", $get( STRING, "SET_PARM3")$ );
9
}
10
 
11
wait ( 1000 );
12
set ( /*@SET_TYPES*/ "SET_ENEMY", "NULL" );
13
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_DEFAULT" );
14
dowait ( "gotoconsole1" );
15
set ( /*@SET_TYPES*/ "SET_VIEWTARGET", $get( STRING, "SET_PARM4")$ );
16
wait ( 2000 );
17
set ( /*@SET_TYPES*/ "SET_BEAM", /*@BOOL_TYPES*/ "true" );
18
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_CONSOLE1IDLE" );
19
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
20
 
21
loop ( -1 )
22
{
23
	use ( "ccpanelsnd1" );
24
	wait ( $random( 2000, 8000 )$ );
25
	use ( "ccpanelsnd2" );
26
	wait ( $random( 2000, 8000 )$ );
27
	use ( "ccpanelsnd3" );
28
	wait ( $random( 4000, 10000 )$ );
29
	use ( "ccpanelsnd2" );
30
	wait ( $random( 2000, 8000 )$ );
31
	use ( "ccpanelsnd1" );
32
	wait ( $random( 4000, 10000 )$ );
33
	use ( "ccpanelsnd3" );
34
	wait ( $random( 4000, 10000 )$ );
35
}
36