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
Monster Scripting Help
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#1
Monster Scripting Help

I want a monster to not attack me unless the monster is about 2 meters away.

What's the void OnStart and the void function( Etc ) for this?

[Image: 25F7U37.png]
(This post was last modified: 08-10-2012, 02:25 AM by Melvin.)
08-10-2012, 01:38 AM
Website Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Monster Scripting Help

I believe the monster does that already, unless you mean only enable enemy triggers when the monster is at most 2 meters away. In which case, i believe that is practically impossible. The monster doesn't have a "body", so you can't attach stuff to it; you can't attach areas to objects; and you have to be closer than two meters for Player-monster collision to activate.

Tutorials: From Noob to Pro
08-10-2012, 02:05 AM
Website Find
lolmaster Offline
Member

Posts: 170
Threads: 9
Joined: Jul 2012
Reputation: 6
#3
RE: Monster Scripting Help

The model editor can modify the properties of enemies.


08-10-2012, 02:21 AM
Find
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#4
RE: Monster Scripting Help

(08-10-2012, 02:05 AM)Your Computer Wrote: I believe the monster does that already, unless you mean only enable enemy triggers when the monster is at most 2 meters away. In which case, i believe that is practically impossible. The monster doesn't have a "body", so you can't attach stuff to it; you can't attach areas to objects; and you have to be closer than two meters for Player-monster collision to activate.
I think I've found another way. Thanks for the reply I'll set this on ''Solved''

[Image: 25F7U37.png]
08-10-2012, 02:24 AM
Website Find




Users browsing this thread: 1 Guest(s)