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
Script Help Have Monster Patrol Without Attacking
MsHannerBananer Offline
Member

Posts: 218
Threads: 34
Joined: Sep 2013
Reputation: 10
#2
RE: Have Monster Patrol Without Attacking

This is super easy! Big Grin

PHP Code: (Select All)
SetEnemyDisableTriggers(stringasNamebool abX); 

It's as easy as that! LOL

Okay, so when you activate the monster, put that little baby into the function: string& asName is the name of your monster (with quotes) and bool abX would be true (no quotes).

This particular line disables the enemy triggers, which, as you may have guessed, disables the monsters reactions to the players. That means, should your player walk close enough to it, make a noise or technically "be seen" by the monster, he won't do a single thing. Big Grin

(This post was last modified: 05-10-2014, 07:41 AM by MsHannerBananer.)
05-10-2014, 07:41 AM
Find


Messages In This Thread
RE: Have Monster Patrol Without Attacking - by MsHannerBananer - 05-10-2014, 07:41 AM



Users browsing this thread: 3 Guest(s)