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
Scripting Help.
dailycreepypasta Offline
Junior Member

Posts: 32
Threads: 18
Joined: Aug 2014
Reputation: 0
#1
Question  Scripting Help.

I was wondering if there was any way that I can have a script where the "AddVoiceEffect" script ran when an enemy can't see the player and it stops when it does see the player. Also, is it possible that if the player hides and isn't seen it can resume from where it left off or go to the next line? Thanks alot if you can at least help me in the slightest way.

Creator of "The Night I Went Insane".

http://www.moddb.com/mods/the-night-i-went-insane
02-22-2015, 12:22 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Scripting Help.

You can always assign a monster pathnodes with

AddEnemyPatrolNode(string& asName, string& asNodeName, float afWaitTime, string& asAnimation);


You want the enemy to have different voices?
You can copy the enemy, then create a new one and change the voices in the model editor.

Trying is the first step to success.
02-22-2015, 11:07 AM
Find




Users browsing this thread: 1 Guest(s)