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 Help Assist me while I learn to script
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#5
RE: No Matching Signatures

Use GetPropHealth() to check the state of an entity. If that "health" == 0, then it has been broken. IIRC there is also an OnBreak callback for the normal SetEntityCallbackFunc function. That one is probably even better to use.

01-29-2016, 08:25 AM
Find


Messages In This Thread
Assist me while I learn to script - by Toggle - 01-26-2016, 10:59 PM
RE: Level Editor Crash - by Mudbill - 01-27-2016, 01:38 AM
RE: Level Editor Crash - by Toggle - 01-27-2016, 03:01 AM
RE: No Matching Signatures - by Toggle - 01-29-2016, 02:56 AM
RE: No Matching Signatures - by Mudbill - 01-29-2016, 08:25 AM
RE: No Matching Signatures - by Spelos - 01-29-2016, 07:12 PM
RE: No Matching Signatures - by Toggle - 01-29-2016, 07:15 PM
RE: Assist me while I learn to script - by Toggle - 01-29-2016, 08:29 PM
RE: Assist me while I learn to script - by Spelos - 01-29-2016, 10:45 PM



Users browsing this thread: 2 Guest(s)