I have this script that fires a flak88. Got it from bdbodger I think. Well I have modified a bit and I am trying to get some instruction message to appear on the persons screen when that person and that person only is standing in the trigger.
What I have now just prints over and over while person is there.. I need a way to make this message only appear one time when the person is in the trigger, if person leaves, then I want it to appear again when they are in the trigger.
You need to place it below an if like if(local.instructed != 1) and then do your message. Mind you that getboundkey is never gonna work properly for a mp game
is this the flakfire script that I posted just a while ago ? I see you changed the fireheld to useheld and for some reason you are going through every player instead of just the player who trigger the trigger . The thread you posted if it is that script is called from above .
while(1)
{
local.trigger waittill trigger
local.trigger waitthread get_ready_to_fire
}
so put your message thread there instead and maybe just tell the player to use the use key .
while(1)
{
local.trigger waittill trigger
local.instruction = parm.other waitthread instruct_use // this or go through every player in the instuction thread
local.trigger waitthread get_ready_to_fire
}
Thanks bdbodger that is exactly what I was looking for...just didnt know where to put it. And I changed it all back to the way it was...no more scanning everyone!