-
Notifications
You must be signed in to change notification settings - Fork 0
/
2696.gsc
57 lines (46 loc) · 1009 Bytes
/
2696.gsc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// IW7 GSC SOURCE
// Dumped by https://github.com/xensik/gsc-tool
init()
{
level._id_103E9 = getentarray( "trigger_multiple_softlanding", "classname" );
var_0 = getentarray( "destructible_vehicle", "targetname" );
foreach ( var_2 in level._id_103E9 )
{
if ( var_2._id_EEFA != "car" )
continue;
foreach ( var_4 in var_0 )
{
if ( distance( var_2.origin, var_4.origin ) > 64.0 )
continue;
var_2._id_5336 = var_4;
}
}
thread _id_C56E();
}
_id_C56E()
{
for (;;)
{
level waittill( "connected", var_0 );
var_0._id_103E8 = undefined;
var_0 thread _id_103EA();
}
}
_id_D389( var_0 )
{
self._id_103E8 = var_0;
}
_id_D3CF( var_0 )
{
self._id_103E8 = undefined;
}
_id_103EA()
{
self endon( "disconnect" );
for (;;)
{
self waittill( "soft_landing", var_0, var_1 );
if ( !isdefined( var_0._id_5336 ) )
continue;
}
}