Subversion-Projekte sthq.argas

Revision

Revision 36 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
8 lars 1
//Generated by BehavEd
2
 
3
rem ( "kirk grabs communicator" );
4
 
5
if ( $get( FLOAT, "SET_OBJECTIVEISODESIUM2")=1.000000$ )
6
{
7
	rem ( "Already got it." );
8
}
9
 
10
 
11
else (  )
12
{
13
 
14
	if ( $get( FLOAT, "SET_OBJECTIVEODELL")=1.000000$ )
15
	{
16
 
17
		affect ( "grabcom_kirk", /*@AFFECT_TYPE*/ FLUSH )
18
		{
19
			set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
36 lars 20
			camera ( /*@CAMERA_COMMANDS*/ ENABLE );
21
			camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "comm_cam", ORIGIN)$, 0 );
22
			camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "comm_cam", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
23
			wait ( 500.000 );
8 lars 24
			set ( /*@SET_TYPES*/ "SET_DPITCH", 100.000 );
25
			wait ( 1000.000 );
36 lars 26
			camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "comm_cam2", ORIGIN)$, 0 );
27
			camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "comm_cam2", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
28
			camera ( /*@CAMERA_COMMANDS*/ ZOOM, 30.000, 0 );
29
			wait ( 2000.000 );
30
			camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "comm_cam", ORIGIN)$, 0 );
31
			camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "comm_cam", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
32
			camera ( /*@CAMERA_COMMANDS*/ ZOOM, 80.000, 0 );
8 lars 33
			remove ( "kirk_comm" );
34
			set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "ClosedTOS" );
35
			set ( /*@SET_TYPES*/ "SET_DPITCH", 0.000 );
36
 
37
			task ( "Put communicator" )
38
			{
39
				set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_UPPER", 1000 );
40
				set ( /*@SET_TYPES*/ "SET_ANIM_UPPER", /*@ANIM_NAMES*/ "TORSO_GRABLBACKLREV" );
41
			}
42
 
43
			dowait ( "Put communicator" );
44
			set ( /*@SET_TYPES*/ "SET_BOLTON_OFF", "ClosedTOS" );
45
			set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "communicator_hip" );
46
			wait ( 2000.000 );
47
			set ( /*@SET_TYPES*/ "SET_OBJECTIVE_SUCCEEDED", /*@OBJECTIVES*/ "OBJ_ISODESIUM2" );
48
			remove ( "communicator_infostring" );
49
 
50
			affect ( "munro", /*@AFFECT_TYPE*/ FLUSH )
51
			{
52
				set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "communicator_hip" );
53
			}
54
 
55
 
56
			affect ( "tri_kirk1", /*@AFFECT_TYPE*/ FLUSH )
57
			{
58
				set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "communicator_hip" );
59
			}
60
 
36 lars 61
			set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );
8 lars 62
			camera ( /*@CAMERA_COMMANDS*/ DISABLE );
63
		}
64
 
65
	}
66
 
67
 
68
	else (  )
69
	{
70
 
71
		affect ( "munro", /*@AFFECT_TYPE*/ FLUSH )
72
		{
73
 
74
			task ( "commtalk" )
75
			{
76
				sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/ent2/Kirk/communicator.mp3" );
77
			}
78
 
79
			dowait ( "commtalk" );
80
		}
81
 
82
	}
83
 
84
}
85