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
Force to trigger function.
AnthonyTrix Offline
Junior Member

Posts: 17
Threads: 5
Joined: Apr 2012
Reputation: 0
#1
Force to trigger function.

Hi,

I was just wondering how I trigger a function when a certain force is applied.

Example: The wall in the archives with the holes in it. If you throw a rock on it hard enough it breaks. How do I do that?

EDIT: In my case I want the player to slam a sledgehammer into a wall in order for it to break.
(This post was last modified: 04-15-2012, 05:38 PM by AnthonyTrix.)
04-15-2012, 05:11 PM
Find


Messages In This Thread
Force to trigger function. - by AnthonyTrix - 04-15-2012, 05:11 PM
RE: Force to trigger function. - by Acies - 04-15-2012, 05:19 PM
RE: Force to trigger function. - by Homicide13 - 04-15-2012, 05:21 PM
RE: Force to trigger function. - by AnthonyTrix - 04-15-2012, 05:23 PM
RE: Force to trigger function. - by DRedshot - 04-15-2012, 05:29 PM
RE: Force to trigger function. - by Damascus - 04-16-2012, 12:41 AM
RE: Force to trigger function. - by AnthonyTrix - 04-15-2012, 05:33 PM



Users browsing this thread: 1 Guest(s)