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
Break boards with hammer and chipper
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Break boards with hammer and chipper

So, in your script:

void OnStart()
{
AddUseItemCallback("", "stone_hammer_chipper", "wooden_boards_block", "FUNC", true);
}

void FUNC (string &in asItem, string &in asEntity)
{
SetPropHealth("wooden_boards_block", 0);
///Other things (Remove item, etc)
}

You forgot a bracket in void OnGameStart() Wink

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-14-2012, 05:16 PM
Find


Messages In This Thread
RE: Break boards with hammer and chipper - by The chaser - 12-14-2012, 05:16 PM



Users browsing this thread: 1 Guest(s)