Page 1 of 1

change class and mapscript question

Posted: Sun May 03, 2009 7:38 am
by crazyfrag
i tried to change class ingame via lua..
if i set the class via congistring all players get invisible and have no name ...
is there any possibility to set a new class for a player



2nd:

i tried to remove all trigger_health cabinets from the map and it worked..
only prob is adlernest there it won't work and i dont know why...
is there any possibility in lua to delete all trigger_health? :-)

3rd
is there any cmd for a wait inside a function?

ty

Posted: Sun May 03, 2009 9:55 pm
by crazyfrag
the prob with class setting is solved :)

Re: change class and mapscript question

Posted: Mon May 04, 2009 3:33 am
by McSteve
crazyfrag wrote: 3rd
is there any cmd for a wait inside a function?
I have a vague recollection of asking the same thing, and I think it turned out that there was not. I used to use time=et.trap_Milliseconds() to pick up an absolute time and then reference it in et_RunFrame when I needed a wait.