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 ?
Stepper321 Offline
Senior Member

Posts: 263
Threads: 26
Joined: Nov 2011
Reputation: 8
#9
RE: The if ?

(03-07-2012, 01:46 PM)Shives Wrote: 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");
}
No, go to the look function.



Signature to awesome to be displayed.
03-07-2012, 05:01 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: 2 Guest(s)