Could someone be kind enough to give me a cog where, if a thing is killed, the level ends/restarts/walkplayer dies/any of the above?
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
# 09/2002 GBK - Packman573@aol.com Symbols Message Killed Thing Victim Thing Player Local Int Action=0 #0=end level, 1=restart, 2=kill player End Code Killed: Player = JKgetlocalplayer(); If(Getsenderref() != Victim) Stop; Sleep(1); If(Action == 0) JKendlevel(1); If(Action == 1) SetactorFlags(Player, 0x400000); If(Action == 2) Damagething(Player, 1000, 1, Player); Stop; End
#Jedi Knight Cog Script # # When a thing is kill, restart level # # [DP] # symbols thing player nolink local thing target message killed end # ...................................................................................... code Killed: player = GetLocalPlayerThing(); SetActorFlags(player, 0x400000); Return; end