Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script for falling tree/knock player out?
CarnivorousJelly Offline
Posting Freak

Posts: 1,196
Threads: 41
Joined: Dec 2012
Reputation: 80
#12
RE: Script for falling tree/knock player out?

Go in redist/sounds/react
They usually use "react_pant" and "react_breath" for injuries in ATDD.

And, as long as you leave the last bool in your damage script as false, the player won't die:
PHP Code: (Select All)
GivePlayerDamage(float afAmount"string& asType"bool abSpinHeadbool abLethal); 

float afAmount - how much damage the player takes
string& asType - the effect, BloodSplat, Claws, or Slash
bool abSpinHead - does the player's head spin from being hit
bool abLethal - can the damage kill the player

[Image: quote_by_rueppells_fox-d9ciupp.png]
(This post was last modified: 08-10-2013, 08:37 PM by CarnivorousJelly.)
08-10-2013, 08:34 PM
Find


Messages In This Thread
RE: Script for falling tree/knock player out? - by CarnivorousJelly - 08-10-2013, 08:34 PM



Users browsing this thread: 1 Guest(s)