Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 59 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Tutorials

»
CoD2 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Creating a Kill Trigger for your Map
Versions: You must be logged in to view history.

Just me Ploxxy, Gradually going to tell you how to make your own kill trigger.
I bet most of you poeple out there try..

targetname
kill

dmg
200

damage
200

but they just never work? Well here you go! 

Ok first off, lets start with a Trigger. It doesnt matter where you put it, it justs a trigger. Make it where you want it. Ok lets get started.

Make the trigger. Multiple

*Right Click 2D->Trigger->Multiple* 

Now make it

targetname
killtrigger

Okay now make a new *.gsc* called mp_killtrigger.gsc 

Inside that mp_killtrigger.gsc, I want you to copy and paste the code i made for you all below.

 

main()
{
killtrigger();
}
killtrigger()
{
killtrigger = getent("killtrigger", "targetname");
while(1)
{
killtrigger waittill("trigger", noob);
if(noob.health == 100 || noob.health >= 100 || noob.health <= 100)
{
noob suicide();
}
}
}

 

main()

{

killtrigger();

}


killtrigger()

{

killtrigger = getent("killtrigger", "targetname");

while(1)

{

killtrigger waittill("trigger", noob);

if(noob.health == 100 || noob.health >= 100 || noob.health <= 100)

{

noob suicide();

}

}

}

 

 

If you suppose that the code above has some errors then use this,

 

 

main()

{

killtrigger();

}


killtrigger()

{

killtrigger = getent("killtrigger", "targetname");

while(1)

{

killtrigger waittill("trigger", noob);

noob suicide();

}

}

 

Credits to Ploxxy for making this Tutorial and Making you readers, The script. Thankyou.
xfire: Crioprodcrio 

 

 

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»