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
Advanced Monster script?
Shives Offline
Member

Posts: 154
Threads: 41
Joined: Jan 2012
Reputation: 1
#1
Bug  Advanced Monster script?

Hi
In my custom story I want to script a grunt which followes path nodes. But if the Player looks at the monster for 5 seconds the path nodes should be cleared and the monster followes the player. But if the player looks away in time nothing should happen. How to script this? Huh

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

Sorry for bad English


03-05-2012, 06:40 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Advanced Monster script?

Study: http://wiki.frictionalgames.com/hpl2/amn...s#entities
http://wiki.frictionalgames.com/hpl2/amn...ns#enemies

Tutorials: From Noob to Pro
03-05-2012, 06:55 PM
Website Find
Shives Offline
Member

Posts: 154
Threads: 41
Joined: Jan 2012
Reputation: 1
#3
RE: Advanced Monster script?

I think I need the "if" function.
But I don't know anything about it.

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

Sorry for bad English


03-05-2012, 07:09 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Advanced Monster script?

(03-05-2012, 07:09 PM)Shives Wrote: I think I need the "if" function.
But I don't know anything about it.

The if statement is not a function.

More studying: http://msdn.microsoft.com/en-us/library/...80%29.aspx

Tutorials: From Noob to Pro
03-05-2012, 07:45 PM
Website Find




Users browsing this thread: 2 Guest(s)