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
The "IF" with HasItem
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#12
RE: The "IF" with HasItem

(04-09-2012, 01:11 PM)SilentStriker Wrote:
(04-09-2012, 10:49 AM)Datguy5 Wrote: When this is done can someone help me with my if function?I dont wanna start a new thread about it.Im trying that if player doesnt have item,the player will look at it.
try
if(HasItem("nameofitem") == false){
//Event here
}
Ive never used the if function before.Can you be more specific with that?Also the item is combinable in the game.What if the player has combined it before he collides with the area?


04-09-2012, 06:17 PM
Find


Messages In This Thread
The "IF" with HasItem - by jessehmusic - 04-09-2012, 12:46 AM
RE: The "IF" with HasItem - by Apjjm - 04-09-2012, 12:52 AM
RE: The "IF" with HasItem - by jessehmusic - 04-09-2012, 03:20 AM
RE: The "IF" with HasItem - by Apjjm - 04-09-2012, 03:40 AM
RE: The "IF" with HasItem - by jessehmusic - 04-09-2012, 01:02 PM
RE: The "IF" with HasItem - by Quotentote - 04-09-2012, 06:21 AM
RE: The "IF" with HasItem - by jessehmusic - 04-09-2012, 01:12 PM
RE: The "IF" with HasItem - by Damascus - 04-09-2012, 09:30 AM
RE: The "IF" with HasItem - by SilentStriker - 04-09-2012, 09:57 AM
RE: The "IF" with HasItem - by jessehmusic - 04-09-2012, 08:39 PM
RE: The "IF" with HasItem - by Datguy5 - 04-09-2012, 10:49 AM
RE: The "IF" with HasItem - by SilentStriker - 04-09-2012, 01:11 PM
RE: The "IF" with HasItem - by Datguy5 - 04-09-2012, 06:17 PM
RE: The "IF" with HasItem - by Obliviator27 - 04-09-2012, 09:16 PM
RE: The "IF" with HasItem - by jessehmusic - 04-09-2012, 09:34 PM
RE: The "IF" with HasItem - by Obliviator27 - 04-09-2012, 10:22 PM
RE: The "IF" with HasItem - by jessehmusic - 04-10-2012, 11:32 AM
RE: The "IF" with HasItem - by SilentStriker - 04-10-2012, 12:40 PM
RE: The "IF" with HasItem - by jessehmusic - 04-10-2012, 12:45 PM
RE: The "IF" with HasItem - by Apjjm - 04-10-2012, 01:12 PM
RE: The "IF" with HasItem - by jessehmusic - 04-10-2012, 03:40 PM



Users browsing this thread: 4 Guest(s)