A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »unit_kill

Author Topic: unit_kill (11 messages, Page 1 of 1)
Moderators: Dennis

Somone77
Joined: Aug 25, 2007


Posted: Aug 25, 2007 11:58 AM    Msg. 1 of 11       
Im just starting a new kinda chat here but iv been wondering about unit_kill for the dev i can seem to get it to work can someone post an exapmple for me? ty


Orange_Geko
Joined: Nov 19, 2005

How long since I last used this account?


Posted: Aug 25, 2007 12:29 PM    Msg. 2 of 11       
yesh.. your just gonna use it to be anoying in your server..

unit_kill (unit (list_get (players) 0))


Caboose117
Joined: Jul 23, 2006

Seriously guys?


Posted: Aug 25, 2007 12:35 PM    Msg. 3 of 11       
player 0 is the latest person to join, player 1 is for the next to newest, and so on. (the 0 after the (players) is what changes)


SiMuLaCrUm
Joined: Oct 25, 2006

too digital


Posted: Aug 25, 2007 12:46 PM    Msg. 4 of 11       
Just don't use on someone who is already dead...


Somone77
Joined: Aug 25, 2007


Posted: Aug 25, 2007 01:03 PM    Msg. 5 of 11       
well i mean an actule example like type your halo name and # for it
o and caboose love the mythbuster saying
Edited by cheater101 on Aug 25, 2007 at 01:06 PM


Caboose117
Joined: Jul 23, 2006

Seriously guys?


Posted: Aug 25, 2007 01:07 PM    Msg. 6 of 11       
It doesn't work like that... Gecko told you exactly how it is used. The dev command does not reference player names, it only uses numbers, in the order I told you.

0= newest player
1= 2nd to newest
2= 3rd to newest

And it goes on, 15 being the host/first person to join, if there are 16 people in the server


Somone77
Joined: Aug 25, 2007


Posted: Aug 25, 2007 01:16 PM    Msg. 7 of 11       
oooooooooooooo so you dont... ooooo but say someone just joind your server so do you put
unit_kill 0 ?


Caboose117
Joined: Jul 23, 2006

Seriously guys?


Posted: Aug 25, 2007 01:24 PM    Msg. 8 of 11       
*sigh You put exactly what kirby said. (Orange Gecko). unit_kill (unit (list_get (players) 0 ))

If you want the person who joined before the newset person you put:

unit_kill (unit (list_get (players) 1 ))

Person before that:

unit_kill (unit (list_get (players) 2 ))

And so on. Get it now?


Somone77
Joined: Aug 25, 2007


Posted: Aug 25, 2007 01:29 PM    Msg. 9 of 11       
yea i think soo but i have 1 more question do you have to put the (unit (list_get(players)#) o and dont get mad about my questions its just that iv been all over the web looking for an answer i did 107 google serches.


Caboose117
Joined: Jul 23, 2006

Seriously guys?


Posted: Aug 25, 2007 02:11 PM    Msg. 10 of 11       
Just put the command we're telling you, exactly how we put it.

(unit (list_get(players)#)

The number is what person, 0 being newest, 1 being 2nd newest, and so on.


Somone77
Joined: Aug 25, 2007


Posted: Aug 25, 2007 02:59 PM    Msg. 11 of 11       
i got it ty guys soooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo much for clearing that up if i could give you ll $20 each i would. (not realy)
Edited by cheater101 on Aug 25, 2007 at 03:07 PM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 3:20 AM 109 ms.
A Halo Maps Website