alldev help with commands

Discuss stuff related to HaloCE (for modding, go to the HEK General forum).
Post Reply
User avatar
minimario1315




Articulatist 50

Posts: 61
Joined: Fri Jun 08, 2007 12:08 pm

alldev help with commands

Post by minimario1315 »

I know many commands in alldev, like spawning things, making yourself invincible, etc. but I want to learn how to kill a player. I don't understand the "unit_kill <unit>" command, for I don't know what a "unit" is. technically, its a living object, but i don't know how to type in player 1 or something. I tried everything from normal scripting in a halo CE map, to doing something like "unit_kill player 1" and they all don't work. if someone could tell me how to kill a person, that would be helpful.

CHEATING WITH ALLDEV IS BAD. I DO NOT CHEAT, I only mess with FFG legodd on a scary map. I want to make the server kill him...
Last edited by minimario1315 on Sat Dec 08, 2007 12:55 pm, edited 1 time in total.
User avatar
wanksta
Readers Club




Wordewatician 500

Posts: 617
Joined: Mon Jun 11, 2007 3:04 pm
Location: Owning Freedom451 Constantly over LAN. Kills:999999999 Owns:943234 Pwns:749455 Killtaculars:5667

Post by wanksta »

pretty sure thats impossible. trust me ive tried. ( i wanted too kill aimboters repedetly too piss them off till they left)
Sig may not be animated.
Lol you got me in like 3 minutes!
Oh wait... I'm banned.... well not funny anymore...
User avatar
minimario1315




Articulatist 50

Posts: 61
Joined: Fri Jun 08, 2007 12:08 pm

I finally learned

Post by minimario1315 »

now that I see what it is, its easy. the command will kill a person instantly.

unit_kill (unit (list_get (players) 0))))

that exact code is it, and this is the thing. 0 is always the newest person to join. so lets say you join, and you use this command, then you die. lets say someone like "yellan" joins, and you type the command, then he dies. 0 is always the newest person to join. but be warned, if you type to kill the 1 player, but your the only character playing, you get the dreaded exception error. so be warned if you want to kill a person thats not the newest joined.

also, lets say you want to kill everyone. you just keep using the kill 0. its the newest person to join that is ALIVE. so you can use the command multiple times until everyone is dead.
Last edited by minimario1315 on Sat Dec 08, 2007 12:55 pm, edited 1 time in total.
User avatar
Covenant_Engineer




Wordewatician 50

Posts: 90
Joined: Fri Sep 07, 2007 8:44 am

Post by Covenant_Engineer »

Cool........ another thing is you could just add alot of invisable elites with swords............ that make em leave O.o
Image
User avatar
DiSrUpTiOn





Posts: 33
Joined: Tue Jul 17, 2007 1:25 pm
Location: Tsavo Highway

Post by DiSrUpTiOn »

cheat_medusea kills em
Image
i like cheese more than the moon
User avatar
minimario1315




Articulatist 50

Posts: 61
Joined: Fri Jun 08, 2007 12:08 pm

invis elites and medusa

Post by minimario1315 »

how would I add invisible elites in CE? I'm talking about entering something like chiron, and killing them. and medusa only works with single player. or it makes EVERYONE have medusa on. neither are what I want.
Post Reply