Subversion-Projekte sthq.colony7

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
9 lars 1
//Generated by BehavEd
2
 
3
rem ( "comment" );
4
//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "false" );
5
//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_TABLE_EAT1" );
6
//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
7
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_WAIT" );
8
set ( /*@SET_TYPES*/ "SET_NO_RESPONSE", /*@BOOL_TYPES*/ "true" );
9
wait ( $random(100, 2000)$ );
10
 
11
task ( "eat" )
12
{
13
	set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_TABLE_EAT1" );
14
}
15
 
16
 
17
loop (  )
18
{
19
	set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_TABLE_IDLE1" );
20
	set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
21
	wait ( $random(2000, 5000)$ );
22
	dowait ( "eat" );
23
}
24