change class and mapscript question

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

change class and mapscript question

Post 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
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

the prob with class setting is solved :)
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Re: change class and mapscript question

Post 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.
GhosT:McSteve
Ghostworks Gaming Community
Post Reply