The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Checking if the player is NOT inside an area?
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#1
Checking if the player is NOT inside an area?

Hey. I'm trying to check wheter a player is throwing an item over an entity than just moving along with the object touching the entity, therefore I created an area and a check to see if the player is OUTSIDE the area and the item collides with the entity, means he threw it, but it didn't work.

if( (mon_health > 0) && (GetEntitiesCollide("Player", "Area_Throw") == false)  )

Any suggestions?
(This post was last modified: 04-12-2012, 04:46 PM by ClayPigeon.)
04-12-2012, 04:46 PM
Find


Messages In This Thread
Checking if the player is NOT inside an area? - by ClayPigeon - 04-12-2012, 04:46 PM



Users browsing this thread: 1 Guest(s)