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 HasItem Help
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: HasItem Help

This place is your friend:

http://wiki.frictionalgames.com/hpl2/amn..._functions

Anyways:

void OnStart()
{
AddTimer("", 1, "Test");
}

void Test (string &in asTimer)
{
if (HasItem("AggripaHead")) //It's possible that it has to be if (HasItem("Aggripa") == true)
{
//Your damage
}
AddTimer("", 1, "Test");
}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
08-19-2013, 09:39 AM
Find


Messages In This Thread
HasItem Help - by jamer125 - 08-19-2013, 08:27 AM
RE: HasItem Help - by The chaser - 08-19-2013, 09:39 AM
RE: HasItem Help - by jamer125 - 08-19-2013, 11:45 AM



Users browsing this thread: 1 Guest(s)