Members Online»
0 Active | 59 Guests
Online:
|
LATEST FORUM THREADS»
by KAZAM3766
Posts: 1 / 339 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2446 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 2952 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 929 New Cod UO Rifle Mod.
CoD Mapping by rr016
Posts: 2 / 5217 setting your own ai names
CoD4 SP Mapping |
Polls»
|
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();
}
}
}
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»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware