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 area collide problem
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#2
RE: area collide problem

Well, how about you set a variable which will determine if the key has been picked up by the player, or not yet? Then use that variable to determine if the function for your area collide will activate, or not.

Alternatively, instead of a variable, you can can use this to determine the item's state instead:

Quote:bool HasItem(string& asName);


Checks whether the player has an item in his inventory.



That's just an idea I'm throwing out. If you need more help, post your script, and we'll see if we can help you alter it properly!

[Image: Tv0YgQb.gif]
Image by BandyGrass
08-20-2013, 04:30 PM
Find


Messages In This Thread
area collide problem - by jamer125 - 08-20-2013, 04:16 PM
RE: area collide problem - by Kreekakon - 08-20-2013, 04:30 PM
RE: area collide problem - by jamer125 - 08-20-2013, 05:44 PM
RE: area collide problem - by Kreekakon - 08-20-2013, 05:47 PM



Users browsing this thread: 1 Guest(s)