-
Notifications
You must be signed in to change notification settings - Fork 0
/
2740.gsc
37 lines (28 loc) · 957 Bytes
/
2740.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
// IW7 GSC SOURCE
// Dumped by https://github.com/xensik/gsc-tool
_id_83D8( var_0, var_1, var_2, var_3, var_4 )
{
var_5 = scripts\engine\utility::_id_8180( var_0, "targetname" );
if ( var_5.size <= 0 )
return;
if ( !isdefined( var_2 ) )
var_2 = randomfloatrange( -20, -15 );
if ( !isdefined( var_3 ) )
var_3 = var_1;
foreach ( var_7 in var_5 )
{
if ( !isdefined( level._effect ) )
level._effect = [];
if ( !isdefined( level._effect[var_3] ) )
level._effect[var_3] = loadfx( var_1 );
if ( !isdefined( var_7.angles ) )
var_7.angles = ( 0, 0, 0 );
var_8 = scripts\engine\utility::_id_49FA( var_3 );
var_8.v["origin"] = var_7.origin;
var_8.v["angles"] = var_7.angles;
var_8.v["fxid"] = var_3;
var_8.v["delay"] = var_2;
if ( isdefined( var_4 ) )
var_8.v["soundalias"] = var_4;
}
}