Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking the position of entities
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#7
RE: Checking the position of entities

(05-05-2011, 09:12 PM)dragonlordsd Wrote: the basic idea is this:
the player places four skulls (entities, but not items) in the circles on the alchemic formula decal. Then by applying a formula (an inventory item) to one of the skulls (since they're so close together, it can be any one of them) it causes a key to appear.

Just to make it easier, I want a function that, when activated by using the item on the skull, checks if there are four skulls within a set area. They don't really have to be positioned exactly, that would probably make it too annoying to solve.

You could make them auto-position exactly using a sticky-area, and then activate variables based on a callback defined in the sticky area properties.
05-05-2011, 09:18 PM
Find


Messages In This Thread
RE: Checking the position of entities - by Acies - 05-05-2011, 08:46 PM
RE: Checking the position of entities - by Acies - 05-05-2011, 08:58 PM
RE: Checking the position of entities - by Apjjm - 05-05-2011, 09:18 PM
RE: Checking the position of entities - by Acies - 05-05-2011, 09:28 PM
RE: Checking the position of entities - by Acies - 05-05-2011, 09:59 PM
RE: Checking the position of entities - by Acies - 05-06-2011, 12:31 AM
RE: Checking the position of entities - by Apjjm - 05-06-2011, 02:33 AM
RE: Checking the position of entities - by Acies - 05-06-2011, 03:10 AM



Users browsing this thread: 3 Guest(s)