The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Check for broken objects
Rinacath Offline
Junior Member

Posts: 4
Threads: 2
Joined: Feb 2012
Reputation: 0
#1
Check for broken objects

I have a map in which I'd like to run a script every time something is broken (mostly those display cases, but possibly also the breakable windows and doors). Would I have to write it again for each display case, or is there a way to check for any broken object in game?
Come to think of it, I'm not completely sure how to check the health/state of an object like that. I assume I'd use a callback...? I don't know.
02-15-2012, 07:17 AM
Find


Messages In This Thread
Check for broken objects - by Rinacath - 02-15-2012, 07:17 AM
RE: Check for broken objects - by flamez3 - 02-15-2012, 07:26 AM
RE: Check for broken objects - by Your Computer - 02-15-2012, 07:37 AM
RE: Check for broken objects - by Dobbydoo - 02-15-2012, 05:34 PM



Users browsing this thread: 1 Guest(s)