Hi!
Here's what I have. The problem is that it only hurts the host in MP (no matter who touches the fans)
Any help from you cog-gods out there?![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)
Cheers,
Goofz
Here's what I have. The problem is that it only hurts the host in MP (no matter who touches the fans)
Code:
# Jedi Knight Cog Script
#
# FANDAMAGE.COG
#
# Damage player when he touches one of the fans. Somehow. No idea how it really works. So sue me.
#
# [Goofz, help from Zecks & Hideki - Thanks!]
#
# This COG script is not supported by LEC. Jodeldiplom.
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved
symbols
thing fan1 linkid=1
thing fan2 linkid=2
thing fan3 linkid=3
flex damage_amount
int dummy local
message touched
end
code
touched:
if ((GetSenderId()==1) || (GetSenderId()==2) || (GetSenderId()==3))
{
player = GetLocalPlayerThing();
dummy = DamageThing(player, damage_amount, 0x01, player);
#DamageThing(player, damage_amount, 0x01, player);
}
Return;
endAny help from you cog-gods out there?
![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)
Cheers,
Goofz
![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)