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
hammer removes an padlock. help
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#3
RE: hammer removes an padlock. help

Why do you have this:

PHP Code: (Select All)
void Padlock(string &in asItemstring &in asEntity)
 {
     
RemoveEntityCollideCallback("stone_hammer_1""padlock_1");
 } 

When apparently all you create is an UseItemCallback(called when you use the two items via inventory selection and targetting)?

I think Your Computer is right about the health part. Setting padlocks health to 0 will replace it with the broken one/break it.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
10-22-2011, 12:09 AM
Find


Messages In This Thread
hammer removes an padlock. help - by johnbanana - 10-21-2011, 08:19 PM
RE: hammer removes an padlock. help - by nemesis567 - 10-22-2011, 12:09 AM



Users browsing this thread: 1 Guest(s)