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
Troubles with monster
CarnivorousJelly Offline
Posting Freak

Posts: 1,196
Threads: 41
Joined: Dec 2012
Reputation: 80
#3
RE: Troubles with monster

Actually, try this script:
PHP Code: (Select All)
SetEnemyDisableTriggers(stringasNamebool abX); 

string& asName = enemy's name (eg brute_01)
bool abX = true will prevent the enemy from attacking the player, but it will not be set to inactive (non-existent and invisible) false will make it behave like a normal enemy.

While the ShowEnemyPlayerPosition function isn't entirely incorrect. It will do exactly what it says and, well, show the enemy where the player is no matter what. This means that, no matter how skilled you are at avoiding the gaze of the enemy and no matter how many doors you put between yourself and the enemy, it will know exactly where you are.

Also, I noticed you're using a .txt file. Save it as a .hps or it won't actually let you apply it to the map (at least, not in my past experience)

[Image: quote_by_rueppells_fox-d9ciupp.png]
(This post was last modified: 06-07-2013, 07:26 PM by CarnivorousJelly.)
06-07-2013, 07:21 PM
Find


Messages In This Thread
Troubles with monster - by thaniels - 06-07-2013, 04:51 PM
RE: Troubles with monster - by thaniels - 06-07-2013, 07:51 PM
RE: Troubles with monster - by CarnivorousJelly - 06-07-2013, 07:21 PM
RE: Troubles with monster - by Your Computer - 06-07-2013, 08:23 PM
RE: Troubles with monster - by thaniels - 06-07-2013, 08:50 PM
RE: Troubles with monster - by Your Computer - 06-07-2013, 09:08 PM
RE: Troubles with monster - by thaniels - 06-09-2013, 06:26 PM
RE: Troubles with monster - by Adrianis - 06-09-2013, 11:27 PM
RE: Troubles with monster - by thaniels - 06-10-2013, 09:05 PM
RE: Troubles with monster - by Adrianis - 06-11-2013, 12:27 PM
RE: Troubles with monster - by Daemian - 06-11-2013, 01:22 AM
RE: Troubles with monster - by PutraenusAlivius - 06-11-2013, 01:59 AM



Users browsing this thread: 1 Guest(s)