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.
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#8
RE: Script help.

Keep in mind that unless you make the barrels unmovable after it has been placed, the player can freely remove the barrels and still have the possibility to unlock the door. To avoid this, I would make three separate variables. For each of the areas the barrels are supposed to stand in, I would make sure that the alState of the collide area can be triggered both when inside, and outside of the box. When the barrel is inside the box, the variable would be set to 1 and when outside, it would be set back to 0.
That way, the barrels must be inside the areas in order to unlock the door.

Creator of The Dark Treasure.
04-17-2013, 09:30 AM
Website Find


Messages In This Thread
Script help. - by Storfigge - 04-16-2013, 07:10 PM
RE: Script help. - by Storfigge - 04-16-2013, 08:21 PM
RE: Script help. - by 7heDubz - 04-16-2013, 11:36 PM
RE: Script help. - by Traggey - 04-17-2013, 01:03 AM
RE: Script help. - by 7heDubz - 04-17-2013, 01:15 AM
RE: Script help. - by Yare - 04-17-2013, 01:55 AM
RE: Script help. - by PutraenusAlivius - 04-17-2013, 06:15 AM
RE: Script help. - by Storfigge - 04-17-2013, 04:29 PM
RE: Script help. - by Linus Ågren - 04-17-2013, 09:30 AM
RE: Script help. - by Your Computer - 04-17-2013, 11:33 AM
RE: Script help. - by Linus Ågren - 04-17-2013, 02:38 PM



Users browsing this thread: 3 Guest(s)