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
The if ?
Shives Offline
Member

Posts: 154
Threads: 41
Joined: Jan 2012
Reputation: 1
#8
RE: The if ?

When I want to Clear the Path nodes if the Player looks at the monster for 3 Seconds. Should the script look like this?

if (PlayerLookAt("m1") == true)

{
AddTimer("", 3, "MonsterClear");
}
void MonsterClear(string &in asTimer)
{
if (PlayerLookAt("m1") == true)


{
ClearEnemyPatrolNodes("m1");
}




My Custom Story
http://www.frictionalgames.com/forum/thread-12587.html

Sorry for bad English


03-07-2012, 01:46 PM
Find


Messages In This Thread
The if ? - by Shives - 03-06-2012, 02:46 PM
RE: The if ? - by Unearthlybrutal - 03-06-2012, 02:53 PM
RE: The if ? - by Datguy5 - 03-06-2012, 02:54 PM
RE: The if ? - by Shives - 03-06-2012, 04:14 PM
RE: The if ? - by Nevicar - 03-06-2012, 06:27 PM
RE: The if ? - by Unearthlybrutal - 03-06-2012, 07:26 PM
RE: The if ? - by Nevicar - 03-06-2012, 07:34 PM
RE: The if ? - by Shives - 03-07-2012, 01:46 PM
RE: The if ? - by Stepper321 - 03-07-2012, 05:01 PM
RE: The if ? - by Shives - 03-07-2012, 05:22 PM



Users browsing this thread: 3 Guest(s)