just wondering guys if something like this would work...i cant test this myself as i dont have a server i am making it for clan server....heres the script...i just took basic tele and then added nodamage at end and wondering if it will work
Yeah it should work, just mind that the 'self waittill trigger' is obsolete and there's no 'end' in the setthread. Targetname is a property not a command.
would an end in the setthread make it not work on server?.....i tried it on a buddys machine and it worked fine but when i put on clan server it wouldnt work.....just wondering, although it could be conflicting mods but im not sure as i dont know all what is on server
(the first one) it's possible that there's a confilct or something like that, when I spawn triggers I don't put them in methods or threads(if not necessary..and never had problems)..
If you delete the first end then you WILL have some errors in the console because the script will not stop and execute the teleport thread. Since it has not been triggered, parm.other is NIL, therefor local.player will be NIL and you cannot teleport "nothing".
If you delete the second end, then the script will continue and execute everything in its path until it finds an "end" command.
If you delete the "teleport:" line then your trigger won't work. If you delete the "teletrig:" line then you cannot execute that thread to spawn the trigger therefor it won't work either.
It's absolutely absurd that a thread or an "end" command can not make it work on a server. It's possible one of your other scripts running is so messed up that the engine starts to flip.
well..the script I've posted works and I'm running it on my server,the only one difference between this one and the one I run is in the thread executed by the trig...the script I run kill you when triggered, and it's structured as the one I posted so this one should work..and there are a lot of things that make a trigger not run, for exemple the thread name that is executed, or the method where it's placed..there can be a conflict, so if you don't put it in a method there won't be any problem.......however if there's a problem of names thst's the solution...
Silent ill try ur script and see how it works out....SoR i cant show u console log as i dont have access to up to the server...i have to give to soemone else and let them do it...=(...i know it sux but i guess they dont trust me enough yet lol.....ill see if one of the guys that tested it will give me the console error and ill post here if so.....thanx for the help guys
I forgot to say that in the case of my script you havo to exec it in prespawn..for exemple I had it in another scr and I've did this:
level waittill prespawn
exec maps/dm/malta_nocross.scr //where malta_nocross.scr is my script
however there are other ways..
but I think the problem is not the scr but something else couse the scr you made shold work..it has no errors... strange case..
So they added the trigger. Then it's obvious they did it the wrong way.
SilentAngel, it's not a matter of "will my crappy script work because the scripting rules are so permissive?" it's a matter of "do I make scripts the newbie way or the good way?".
I think you don't follow me..I'm not saying that my script is the solution, it's just a way to see if the problem was in the method name or other..
Also as I said a lot of times I'm not a master..but I know what I say..maybe you're better in MOH Scripts but you're one of those who believe to know everything and that's bad becouse is not true! so insted of criticize me try to learn something new!
talking about what I was saying before:
if you put something out of a method as I'm doing it still can be read, just come in my server and see it on your own...so don't say "IT DON'T WORK" becouse it's compleatly wrong...and if you still think I'm wrong, well..that's not my problem..
Also, he said that his scr was working on his friend's server so it must be a conflict of names/mods or something like that becouse his scr works...
well..time for a coffie..see ya