Massassi Forums Logo

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.

ForumsCog Forum → Cog Verbs
Cog Verbs
2001-02-17, 11:59 PM #1
Is there a verb that can kill every player in the level, in multiplayer? i have looked though the cog specs, and the nearest i have found is
DamageThing(thing,flex damage,flag,damage causething);

Is there value i could add in it to make it kill all the players in a level?

------------------
Generating Electro Vibes™ for the masses on Massassi
Go To: HERE
Jedi Knight Depostitory

[This message has been edited by Electro (edited February 18, 2001).]
Generating Electro Vibes™ for the masses on Massassi
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!
2001-02-18, 3:00 AM #2
player = GetLocalPlayerThing();
DamageThing(player, 1000, 0x1, player);
Think about it, if that executes on everyone's machine, it would take out the whole level. It's how the guy that made the MotS "Self Destuct" cog that killed everyone on the map did it.

------------------
Together we stand.
Divided we fall.
2001-02-18, 6:24 AM #3
In fact, thats the problem, i am using that cog, but its not killing everyone! So i thought i would add a command to the main cog to see if i could get it to work.

------------------
Generating Electro Vibes™ for the masses on Massassi
Go To: HERE
Jedi Knight Depostitory
Generating Electro Vibes™ for the masses on Massassi
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!
2001-02-18, 9:48 AM #4
I don't have time to look at the cog right now, but my guess is if it is in the 'MotS Only' section it conains a verb or two that only work in MotS. I know player = GetLocalPlayerThing(); DamageThing(player, 1000, 0x1, player); work because I put them in another cog and it worked great.

------------------
Together we stand.
Divided we fall.
2001-02-18, 1:28 PM #5
If you can make a client localized cog, (flagging it 0x240 in the symbols) place these.

Put this in a cog that makes it damage all players

SendTrigger(-1, 0, 0, 0, 0, 0);

and in a trigger message of a new localized cog, put

Code:
trigger:

   if(GetSourceRef() == 0)
   {
      player = GetLocalPlayerThing();
      DamageThing(player, GetThingHealth(player), 0x1, player);
   }

   return;


This will send trigger to all of the players and will be triggered to damage the amount of their own healths.

------------------
http://millennium.massassi.net/ - Millennium

[This message has been edited by Hideki (edited February 18, 2001).]

↑ Up to the top!