accidently didn't check for simple syntax errors fixed now

This commit is contained in:
JezuzLizard 2020-04-29 08:56:45 -07:00
parent 7cfed7cdf9
commit 17c1ff26bf
5 changed files with 14 additions and 10 deletions

View File

@ -133,6 +133,7 @@ door_classify( parent_trig ) //checked changed to match cerberus output
{
self.script_string = "move";
}
}
if ( !isDefined( self.script_string ) )
{
self.script_string = "";
@ -325,7 +326,7 @@ door_activate( time, open, quick, use_blocker_clip_for_pathing ) //checked match
if ( !open )
{
self delay_thread( time, ::self_disconnectpaths );
wait 0,1;
wait 0.1;
self solid();
}
return;

View File

@ -431,7 +431,7 @@ generate_piece_unitrigger( classname, origin, angles, flags, radius, script_heig
}
else
{
unitrigger_stub.script_length = 13,5;
unitrigger_stub.script_length = 13.5;
}
if ( isDefined( script_width ) )
{
@ -439,7 +439,7 @@ generate_piece_unitrigger( classname, origin, angles, flags, radius, script_heig
}
else
{
unitrigger_stub.script_width = 27,5;
unitrigger_stub.script_width = 27.5;
}
if ( isDefined( script_height ) )
{
@ -1000,7 +1000,7 @@ piece_allocate_spawn( piecespawn ) //checked changed to match cerberus output
else if ( is_point_in_build_trigger( self.spawns[ i ].origin ) )
{
any_okay = 1;
spawnweights[ i ] = 0,01;
spawnweights[ i ] = 0.01;
break;
}
else
@ -3143,3 +3143,4 @@ get_buildable_stat_name( buildable ) //checked matches cerberus output
}

View File

@ -567,7 +567,7 @@ suicide_trigger_think() //checked changed to match cerberus output
}
while ( 1 )
{
wait 0,1;
wait 0.1;
if ( !isDefined( self.suicideprompt ) )
{
continue;
@ -1169,7 +1169,7 @@ revive_hud_think() //checked partially changed to match cerberus output //did no
self endon( "disconnect" );
while ( 1 )
{
wait 0,1;
wait 0.1;
if ( !player_any_player_in_laststand() )
{
continue;
@ -1449,3 +1449,4 @@ cleanup_laststand_on_disconnect() //checked matches cerberus output
}
}

View File

@ -351,7 +351,7 @@ trap_activate_fire() //checked changed to match cerberus output
clientnotify( self.script_string + "1" );
clientnotify( self.script_parameters );
fx_points = getstructarray( self.target, "targetname" );
while ( i = 0; i < fx_points.size; i++ )
for ( i = 0; i < fx_points.size; i++ )
{
wait_network_frame();
fx_points[ i ] thread trap_audio_fx( self );
@ -387,7 +387,7 @@ trap_activate_rotating() //checked partially changed to match cerberus output
wait step;
t += step;
}
for ( i = 0; i < self._trap_movers.size i++ )
for ( i = 0; i < self._trap_movers.size; i++ )
{
self._trap_movers[ i ] rotateyaw( 360, 5, 0, 4.5 );
}
@ -766,7 +766,7 @@ get_trap_array( trap_type ) //checked changed to match cerberus output
{
ents = getentarray( "zombie_trap", "targetname" );
traps = [];
for ( i = 0; i < ents.size i++ )
for ( i = 0; i < ents.size; i++ )
{
if ( ents[ i ].script_noteworthy == trap_type )
{
@ -863,3 +863,4 @@ is_trap_registered( a_registered_traps ) //checked matches cerberus output
return isDefined( a_registered_traps[ self.script_noteworthy ] );
}

View File

@ -62,7 +62,7 @@ player_handle_cymbal_monkey() //checked matches cerberus output
{
grenade = get_thrown_monkey();
self player_throw_cymbal_monkey( grenade, num_attractors, max_attract_dist, attract_dist_diff );
wait 0,05;
wait 0.05;
}
}