Is there some tool, or something, that I can use to put in a small area that instantly downs players? For example, if they fall in a pit they would get downed, how can I do that?
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
//Add this here main() { //these 2 lines below trigs = GetEntArray("damage_trigger", "targetname"); array_thread(trigs, ::damage_trigger_think); (for reference) level.DLC3 = spawnStruct(); // Leave This Line Or Else It Breaks Everything
Then this at the bottom
Code Snippet
Plaintext
// At the end of mapname.gsc damage_trigger_think() { damage = 20; while(true) { self waittill("trigger", player); if(player maps\_laststand::player_is_in_laststand()) continue; if(player.health > damage) player DoDamage(damage, player.origin); else RadiusDamage(player.origin, 10, player.health + 10, player.health + 10); } }
Creds to YaPh1l i think, old script i got. Uses trigger_damage or touch or one of them, i forget
I think this is his too, instead of it killing the player it teleports them
transporter() { for(;;) { self waittill( "trigger", player ); entTarget = getEnt( self.target, "targetname" ); wait 0.1; player setOrigin( entTarget.origin ); player setplayerangles( entTarget.angles ); wait 0.1; iprintlnbold("text on screen"); } }
These are quite old and i dont think he would mind me sharing them as their quite barebones. I mean mabey they arent Yaph1l's but i know one of them is
Last Edit: August 12, 2015, 04:17:15 am by vinnyz500