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] Running a script when attacked
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#7
RE: [SCRIPT] Running a script when attacked

AddEntityCollideCallback("Player", "name_of_monster", "Callback", true, 1);

There's no need to check if the player has lost health.

Tutorials: From Noob to Pro
(This post was last modified: 05-18-2013, 11:56 PM by Your Computer.)
05-18-2013, 11:55 PM
Website Find


Messages In This Thread
RE: [SCRIPT] Running a script when attacked - by Your Computer - 05-18-2013, 11:55 PM



Users browsing this thread: 1 Guest(s)