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 How do you make a stone hammer break a wall
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#3
RE: How do you make a stone hammer break a wall

I believe it works like this.

You need a script area, easy to find in the editor, and tick the box named "ItemInteraction" then simple use a PlayerInteractCallback thingymado.

If you wanna spice things up a bit you can put an inactive stone_hammer_static thing and script a timer to play an effect.


Edit: Sorry named the wrong Callback. It's supposed to AddUseItemCallback

"What you think is irrelevant" - A character of our time

A Christmas Hunt
(This post was last modified: 04-21-2012, 09:19 PM by i3670.)
04-21-2012, 09:15 PM
Find


Messages In This Thread
RE: How do you make a stone hammer break a wall - by i3670 - 04-21-2012, 09:15 PM



Users browsing this thread: 1 Guest(s)