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
Making Hammer and Chipper break open door?
serbusfish Offline
Member

Posts: 211
Threads: 75
Joined: Aug 2012
Reputation: 0
#9
RE: Making Hammer and Chipper break open door?

(04-21-2013, 03:20 PM)JustAnotherPlayer Wrote: The script that I gave you said that "hammer_chipper" was the item. Yet in the Inventory.hps, it clearly states that it's "stone_hammer_chipper". You have the incorrect name for the item.

Ah I see, schoolboy error on my part. Im very new to scripting, I used a tutorial to make that script and presumed 'hammer_chipper' was the final product.

Anyway now it works, and im sorry to be a pain but it doesnt play an animation, it simply breaks a hole in the door and unlocks it. Then once I had walked through the door my game started lagging immensely which led to me ctrl alt del to exit it. I noticed the hammer and chipper was still in my inventory too.

Im probably wrong but looking at the script again I would have thought all the stuff under 'DoorUnlockAnim' should go AFTER everything else? Because from what I can tell atm the game is breaking the door first with all the animation stuff afterwards.

But im only a n00b at scripting so am probably wrong?

(This post was last modified: 04-21-2013, 03:43 PM by serbusfish.)
04-21-2013, 03:40 PM
Find


Messages In This Thread
RE: Making Hammer and Chipper break open door? - by serbusfish - 04-21-2013, 03:40 PM



Users browsing this thread: 1 Guest(s)