| 9 |
lars |
1 |
//Generated by BehavEd
|
|
|
2 |
|
|
|
3 |
rem ( "comment" );
|
|
|
4 |
use ( "doormovesound" );
|
|
|
5 |
use ( "doorclosesound" );
|
|
|
6 |
|
|
|
7 |
//(BHVDREM) affect ( "Vorik", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
8 |
//(BHVDREM) {
|
|
|
9 |
//(BHVDREM) wait ( 1000.000 );
|
|
|
10 |
|
|
|
11 |
//(BHVDREM) task ( "gotobehinddoornav0" )
|
|
|
12 |
//(BHVDREM) {
|
|
|
13 |
//(BHVDREM) set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
14 |
//(BHVDREM) set ( "NAVGOAL", "behinddoornav0" );
|
|
|
15 |
//(BHVDREM) }
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
//(BHVDREM) task ( "gotobehinddoornav1" )
|
|
|
19 |
//(BHVDREM) {
|
|
|
20 |
//(BHVDREM) set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
21 |
//(BHVDREM) set ( "NAVGOAL", "behinddoornav1" );
|
|
|
22 |
//(BHVDREM) }
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
//(BHVDREM) task ( "gotobehinddoornav2" )
|
|
|
26 |
//(BHVDREM) {
|
|
|
27 |
//(BHVDREM) set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
28 |
//(BHVDREM) set ( "NAVGOAL", "vorik_behinddoornav2" );
|
|
|
29 |
//(BHVDREM) }
|
|
|
30 |
|
|
|
31 |
//(BHVDREM) dowait ( "gotobehinddoornav0" );
|
|
|
32 |
//(BHVDREM) dowait ( "gotobehinddoornav1" );
|
|
|
33 |
//(BHVDREM) dowait ( "gotobehinddoornav2" );
|
|
|
34 |
//(BHVDREM) set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 170.000 0.000 > );
|
|
|
35 |
//(BHVDREM) set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_FACE" );
|
|
|
36 |
//(BHVDREM) }
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
affect ( "Pelletier", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
40 |
{
|
|
|
41 |
|
|
|
42 |
task ( "gotobehinddoornav0" )
|
|
|
43 |
{
|
|
|
44 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
45 |
set ( "NAVGOAL", "behinddoornav0" );
|
|
|
46 |
}
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
task ( "gotobehinddoornav1" )
|
|
|
50 |
{
|
|
|
51 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
52 |
set ( "NAVGOAL", "behinddoornav1" );
|
|
|
53 |
}
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
task ( "gotobehinddoornav2" )
|
|
|
57 |
{
|
|
|
58 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
59 |
set ( "NAVGOAL", "Pelletier_behinddoornav2" );
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
dowait ( "gotobehinddoornav0" );
|
|
|
63 |
dowait ( "gotobehinddoornav1" );
|
|
|
64 |
dowait ( "gotobehinddoornav2" );
|
|
|
65 |
set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 200.000 0.000 > );
|
|
|
66 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_FACE" );
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
affect ( "Lang", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
71 |
{
|
|
|
72 |
|
|
|
73 |
task ( "doorsopen" )
|
|
|
74 |
{
|
|
|
75 |
sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_3/Romanov/doorsopen.mp3" );
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
dowait ( "doorsopen" );
|
|
|
79 |
|
|
|
80 |
task ( "gotonav3" )
|
|
|
81 |
{
|
|
|
82 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
83 |
set ( "NAVGOAL", "nav3" );
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
task ( "gotobehinddoornav0" )
|
|
|
88 |
{
|
|
|
89 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
90 |
set ( "NAVGOAL", "behinddoornav0" );
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
task ( "gotobehinddoornav1" )
|
|
|
95 |
{
|
|
|
96 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
97 |
set ( "NAVGOAL", "behinddoornav1" );
|
|
|
98 |
}
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
task ( "gotobehinddoornav2" )
|
|
|
102 |
{
|
|
|
103 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
|
|
|
104 |
set ( "NAVGOAL", "Lang_behinddoornav2" );
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
dowait ( "gotonav3" );
|
|
|
108 |
dowait ( "gotobehinddoornav0" );
|
|
|
109 |
dowait ( "gotobehinddoornav1" );
|
|
|
110 |
dowait ( "gotobehinddoornav2" );
|
|
|
111 |
set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 0.000 0.000 > );
|
|
|
112 |
set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_FACE" );
|
|
|
113 |
}
|