Kill on location.

Post your scripting questions / solutions here

Moderator: Moderators

User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Add some debug lines to your script so you can test what lines are being exectured if you do this then if you see, I got to this part of the script , on the screen you know the trigger was triggered .

kill:

iprintln " I got to this part of the script "

local.player=parm.other

local.player stufftext "say I JUST TRIED TO GET BEHIND/UNDER THE MAP. PLEASE HAVE AN ADMIN BAN ME!"
iprintln "A PLAYER WAS JUST BEHIND/UNDER THE MAP AND SHOULD BE BANNED!"
local.player kill
end
Image
strafer
Captain
Posts: 237
Joined: Sat Jan 31, 2004 11:29 pm
Location: The Motherland..
Contact:

Post by strafer »

Thanks for the reply bodger, but I have it fixed. I appreciate the help anyway :D .
OxYdO666
Corporal
Posts: 30
Joined: Wed Jul 07, 2004 5:26 pm

Post by OxYdO666 »

afflicted for the time that I put has to answer. that still does not function. I pass below the map and nothing does not happen :shock: :( why???
strafer
Captain
Posts: 237
Joined: Sat Jan 31, 2004 11:29 pm
Location: The Motherland..
Contact:

Post by strafer »

OxYdO666 wrote:afflicted for the time that I put has to answer. that still does not function. I pass below the map and nothing does not happen :shock: :( why???
First, spawn a trigger_multiple

local.killbrush = spawn trigger_multiple
local.killbrush.origin = ( xxx xxx xxx )
local.killbrush setsize ( -xxx -xxx -xxx ) ( xxx xxx xxx )
local.killbrush setthread die

Then create your thread "die" (Doesn't have to be die. You can name it what you want 8-) ).

die:

local.player=parm.other

local.player stufftext "say I was just under the map!"
local.player kill

end

That should work; it worked for me 8-) . Make sure you created your trigger multiple and set its size correctly. It is very important it doesn't go through walls and kill people that are just walking on legit parts of the map 8-) .
Post Reply