Setting NPCs on fire? :-P

aeroripper

Tank
Joined
Jun 16, 2004
Messages
1,234
Reaction score
0
I have tried going this to a zombie but i cannot get it to work.

Basically what i did was ent_name npc_zombie then ent_fire npc_zombie ignite but nothing happens...

can somebody who's actually gotten this setting things on fire thing to work say the exact command they used to do it? Or like how to set a zombie on fire (exactly what i would type into the console)

PCs all have inputs which you can activate using the ent_fire command. Some inputs are common to all NPCs, some are unique to one or two NPCs. To list all the inputs (and outputs, although I don't know if they're much use) of an NPC, type "ent_info [npc name]". As far as I can see, all the inputs listed above setrelationships are specific to certain NPCs.

If you want to actually input something to an NPC, you have to name it first. To do this, type "ent_setname [name]". Once you've named an npc, you can then type "ent_fire [name] [input]" and do cool stuff like set them on fire.

To set things on fire, type "ent_setname [name]; wait; ent_fire [name] ignite". I found that code posted by somebody on another forum and it made me want to find out other similar things I could do, and find out I did.

A couple of other useful global inputs are kill and sethealth. There's also a skin input which I'm guessing changes the model or textures but I have no idea how to use it, so if anybody can help with that it'd be much appreciated.
 
lmao at barney video...

another question... is it possible to spawn seagulls then as their flying away set them on fire????
 
so how does it know what npc to set on fire

So is this what i would enter for a zombie?

ent_setname npc_zombie
ent_fire npc_zombie ignite

???
 
aeroripper said:
so how does it know what npc to set on fire


The whole purpose of setting its name is so the ent_fire command knows which entity you're talking about. You have to have your crosshair pointed at the entitiy/character you want to name in order for it to work.

aeroripper said:
So is this what i would enter for a zombie?

ent_setname npc_zombie
ent_fire npc_zombie ignite

???

Yes, that's how you would type it, but you can name it anything, you don't have to name it npc_zombie.

You point your crosshair at what you want to name, then type "ent_setname namehere"
Then "ent_fire namehere ignite" or whatever other ent_fire command you want to use on that entity.
 
Back
Top