Frictional Games Forum (read-only)
Monster Scripting Help - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Monster Scripting Help (/thread-17631.html)



Monster Scripting Help - Melvin - 08-10-2012

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?


RE: Monster Scripting Help - Your Computer - 08-10-2012

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.


RE: Monster Scripting Help - lolmaster - 08-10-2012

The model editor can modify the properties of enemies.


RE: Monster Scripting Help - Melvin - 08-10-2012

(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''