Page 1 of 1
alldev help with commands
Posted: Fri Jul 06, 2007 5:30 pm
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...
Posted: Fri Jul 06, 2007 6:03 pm
by wanksta
pretty sure thats impossible. trust me ive tried. ( i wanted too kill aimboters repedetly too piss them off till they left)
I finally learned
Posted: Sat Sep 08, 2007 10:45 am
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.
Posted: Sat Sep 08, 2007 11:50 am
by Covenant_Engineer
Cool........ another thing is you could just add alot of invisable elites with swords............ that make em leave O.o
Posted: Sun Sep 09, 2007 10:21 am
by DiSrUpTiOn
cheat_medusea kills em
invis elites and medusa
Posted: Sat Sep 22, 2007 12:30 pm
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.