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
When I enter an area while I have an item script
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: When I enter an area while I have an item script

If it's an inventory item use this if statement:

if(HasItem(string& name)) //Do your cool stuff

//-----------

If it's a grab object like a rock or something, do this if statement:

if(GetPropIsInteractedWith(string& name)) //Do your cool stuff

07-15-2011, 07:59 AM
Find


Messages In This Thread
RE: When I enter an area while I have an item script - by palistov - 07-15-2011, 07:59 AM



Users browsing this thread: 1 Guest(s)