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 »is it possible...

Author Topic: is it possible... (10 messages, Page 1 of 1)
Moderators: Dennis

Caboose117
Joined: Jul 23, 2006

Seriously guys?


Posted: Nov 12, 2010 10:58 PM    Msg. 1 of 10       
It's able to be done with scripts, so it may be possible, however I don't know how you'd distinguish between players, as they're not defined by their names, but rather numbered by the game.


Co1t3r
Joined: Dec 13, 2008


Posted: Nov 12, 2010 11:09 PM    Msg. 2 of 10       
sv_players


Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007


Posted: Nov 12, 2010 11:12 PM    Msg. 3 of 10       
there are server applications that can do that, i think.

read this thread http://www.modacity.net/forums/showthread.php?22594-rec0-s-Server-App-for-Halo-CE-1.09


SeanTheLawn
Joined: Sep 4, 2007


Posted: Nov 13, 2010 03:28 AM    Msg. 4 of 10       
Use sv_players to find the player number of the person you want to kill, then use the following command:

(unit_kill (unit (list_get (players) X)))


Where X = the number of teh player you want to kill.


Advancebo
Joined: Jan 14, 2008


Posted: Nov 13, 2010 12:18 PM    Msg. 5 of 10       
yes.


SeanTheLawn
Joined: Sep 4, 2007


Posted: Nov 13, 2010 04:23 PM    Msg. 6 of 10       
Quote: --- Original message by: qwertyuiop
Doesn't work


You're doing it wrong.


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Nov 13, 2010 04:26 PM    Msg. 7 of 10       
Like this:

(global short x 0)

(script continuous increment
(if
(= x 15)
(begin
(set x 0)
)
(begin
(set x (+ x 1))
)
)
)

(script BLAH BLAH
(unit_kill (unit (list_get (players) x)))
)

Edited by MoooseGuy on Nov 13, 2010 at 04:26 PM


SeanTheLawn
Joined: Sep 4, 2007


Posted: Nov 13, 2010 04:28 PM    Msg. 8 of 10       
Well you can also just type it straight into console. Just tried it by the way. It works.

EDIT

Quote: --- Original message by: qwertyuiop
how am I doing it wrong? I typed it in EXACTLY as you said (with the player number instead of "X")


Try x-1 instead of x then. So if it says they're player 1, try 0, etc.
Edited by SeanTheLawn on Nov 13, 2010 at 04:30 PM


SeanTheLawn
Joined: Sep 4, 2007


Posted: Nov 13, 2010 04:51 PM    Msg. 9 of 10       
It exceptions if you try to kill a player that isn't in the server.


Co1t3r
Joined: Dec 13, 2008


Posted: Nov 13, 2010 05:58 PM    Msg. 10 of 10       
The first player starts at 0

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:54 PM 156 ms.
A Halo Maps Website