PDA

View Full Version : The subject responds to fire him



maxdamage99
30th September 2015, 15:00
Put object (point) on the map where the player shoots at this point, no further action is! Help me please)

the_law
30th September 2015, 15:19
wut?

I think he might be talking about damage triggers, but I'm not really sure. ..

Side note: Other than what you posted, we have no information. You might want to follow the suggestions here when posting:http://killtube.org/showthread.php?1157-Scripting-FAQ-read-this-first!

We have no idea what you'really putting on the map, what you expect it to do, etc. How are we supposed to help you?

maxdamage99
1st October 2015, 13:12
subject=spawn("what!?!?", self.origin);
subject waitill..... //waiting damage for him
{
/// if make damage....
}

voron00
1st October 2015, 13:49
Technically, it's possible to spawn an invisible "script_model", setAlive(1), and waittill("damage", dmg)..if that's what you looking for...

IzNoGoD
1st October 2015, 13:52
That also requires libcod and setalive(true) or something similar

maxdamage99
1st October 2015, 14:07
DA VORON ETO TO CHO NUJNO!
9 ne kogda ne delal etogo, po etomy hz, i len' cheto mudrit, nujen gotoviy script.

Tally
1st October 2015, 14:50
Technically, it's possible to spawn an invisible "script_model", setAlive(1), and waittill("damage", dmg)..if that's what you looking for...

What? to make a model invisible, just use hide(). setAlive() is not a stock function.