ItsMods
[Request] Spawn flame ! HELP - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Request] Spawn flame ! HELP (/Thread-Request-Spawn-flame-HELP.html)



Spawn flame ! HELP - Romuald27 - 12-21-2010

How to spawn flames on location? And he had the damage when you step on it? Pls Big Grin


RE: Spawn flame ! HELP - alistair3149 - 12-21-2010

(12-21-2010, 21:13)Romuald27 Wrote: How to spawn flames on location? And he had the damage when you step on it? Pls Big Grin
Fx



RE: Spawn flame ! HELP - Romuald27 - 12-21-2010

Yes, but how to put damage when you touch the flame?


RE: Spawn flame ! HELP - Devilmaster666 - 12-22-2010

maybe try something like
Code:
int() { level.UrVar = 0; if(level.script == "mp_themapuwant") { thread UrVar(X, Y, Z); } } UrVar(place) { level.UrVar++; UrVar = spawn("trigger_radius", place, X, Y, Z); while(1) { UrVar waittill("trigger", player); if(player.health > -1) { player suicide(); } } }

I don't know if this works Big Grin


RE: Spawn flame ! HELP - AZUMIKKEL - 12-22-2010

Look in maps\mp\_napalm.gsc
Im sure you'll find it there.


RE: Spawn flame ! HELP - Romuald27 - 12-22-2010

(12-22-2010, 00:59)Devilmaster666 Wrote: maybe try something like
Code:
int() { level.UrVar = 0; if(level.script == "mp_themapuwant") { thread UrVar(X, Y, Z); } } UrVar(place) { level.UrVar++; UrVar = spawn("trigger_radius", place, X, Y, Z); while(1) { UrVar waittill("trigger", player); if(player.health > -1) { player suicide(); } } }

I don't know if this works Big Grin
Thank you let me put in this form?

UrVar((?,?,?));

or not?