All pastes #736009 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-14 01:58 UTC
rendered paste body
local platform = {}

function idle()
	if(projectile_index_valid(0))then
		if(get_projectile_type (0) == _projectile_grenade)then
			if(platform[0] == 0)then

				if(get_projectile_position(0) == 2)then
					platform[0] = true
					set_platform_state (1, true)
					screen_fade(_fade_long_bright)
					play_sound(0, _snd_juggernaut_exploding, 0.2)
				end
			end

			if(platform[1] == 0)then
				if(get_projectile_position(0) == 9)then
					platform[1] = true
					set_platform_state (10, true)
					screen_fade(_fade_long_bright)
					play_sound(0, _snd_juggernaut_exploding, 0.2)
				end
			end

		end
	end
end