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
set ( /*@SET_TYPES*/ "SET_NOAVOID", "true" );
5
//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_ARMOR", 200 );
6
//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
7
 
8
task ( "runtonav0" )
9
{
10
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
11
	set ( "NAVGOAL", "klingon_nav" );
12
}
13
 
14
 
15
//(BHVDREM)  task ( "runtonav1" )
16
//(BHVDREM)  {
17
	//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
18
	//(BHVDREM)  set ( "NAVGOAL", "nav1" );
19
//(BHVDREM)  }
20
 
21
 
22
//(BHVDREM)  task ( "runtonav15" )
23
//(BHVDREM)  {
24
	//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
25
	//(BHVDREM)  set ( "NAVGOAL", "nav15" );
26
//(BHVDREM)  }
27
 
28
 
29
//(BHVDREM)  task ( "runtonav2" )
30
//(BHVDREM)  {
31
	//(BHVDREM)  set ( "BSTATE", "BS_RUN" );
32
	//(BHVDREM)  set ( "NAVGOAL", "nav2" );
33
//(BHVDREM)  }
34
 
35
 
36
//(BHVDREM)  task ( "runtonav3" )
37
//(BHVDREM)  {
38
	//(BHVDREM)  set ( "BSTATE", "BS_RUN" );
39
	//(BHVDREM)  set ( "NAVGOAL", "nav3" );
40
//(BHVDREM)  }
41
 
42
//(BHVDREM)  dowait ( "runtonav15" );
43
 
44
if ( $get( STRING, "verfolgung")="true"$ )
45
{
46
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
47
	wait ( 1000.000 );
48
	dowait ( "runtonav0" );
49
	set ( "verfolgung", "false" );
50
}
51
 
52
 
53
else (  )
54
{
55
	wait ( 4000.000 );
56
	dowait ( "runtonav0" );
57
}
58
 
59
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN_AND_SHOOT" );
60
 
61
if ( $get( STRING, "SET_PARM1")="Kl1"$ )
62
{
63
	set ( /*@SET_TYPES*/ "SET_ENEMY", "Lang" );
64
}
65
 
66
 
67
if ( $get( STRING, "SET_PARM1")="Kl2"$ )
68
{
69
	set ( /*@SET_TYPES*/ "SET_ENEMY", "Pelletier" );
70
}
71
 
72
 
73
if ( $get( STRING, "SET_PARM1")="Kl3"$ )
74
{
75
	set ( /*@SET_TYPES*/ "SET_ENEMY", "Munro" );
76
}
77
 
78
 
79
if ( $get( STRING, "SET_PARM1")="Kl4"$ )
80
{
81
	set ( /*@SET_TYPES*/ "SET_ENEMY", "Munro" );
82
}
83
 
84
 
85
loop ( -1 )
86
{
87
	wait ( 1000.000 );
88
 
89
	if ( $get( STRING, "durchdoor")="true"$ )
90
	{
91
		remove ( "self" );
92
	}
93
 
94
 
95
	if ( $get( STRING, "proximity")="true"$ )
96
	{
97
		set ( /*@SET_TYPES*/ "SET_ENEMY", "munro" );
98
		set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "true" );
99
	}
100
 
101
 
102
	else (  )
103
	{
104
		set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "false" );
105
	}
106
 
107
}
108