Anti Grav mod
Posted: Fri Sep 03, 2004 3:03 pm
G'day all,
I have made an all round mod for Brest that allows you to play FFA, TDM, Roundbased and TOW. I think it works pretty well except in FFA mode. I have a hidden trigger to give players a bit of fun for 30 seconds but am having trouble tagging the local.player on a trigger_multiple, here is my routine.
Any hints on what I am missing please ? I just can't spot it 
Gassy
Edit: I should have said, it works fine in all game modes, but not Free For all...
I have made an all round mod for Brest that allows you to play FFA, TDM, Roundbased and TOW. I think it works pretty well except in FFA mode. I have a hidden trigger to give players a bit of fun for 30 seconds but am having trouble tagging the local.player on a trigger_multiple, here is my routine.
Code: Select all
gravity:
$gravity_hotspot waittill trigger
local.player = parm.other
waitframe
if(local.player isTouching $gravity_hotspot && isAlive local.player)
{
local.player iprint "You will have reduced gravity for 30 seconds"
local.player stopwatch 30
local.player loopsound bombtick1
local.player gravity 0.2
for ( local.i = 0 ; local.i < 30 ; local.i++ )
{
wait 1
}
local.player gravity 1
local.player stoploopsound bombtick1
local.player iprint "Anti grav will be available again in 1 minute." ; wait 60
thread gravity
}
endGassy
Edit: I should have said, it works fine in all game modes, but not Free For all...