playMaker

Author Topic: Enemy Footstep sounds  (Read 2047 times)

wendymorrison

  • Playmaker Newbie
  • *
  • Posts: 30
Enemy Footstep sounds
« on: October 18, 2016, 06:34:54 PM »
Hi i did this tutorial https://www.youtube.com/watch?v=RUFPSS3t5m0
which does actually work out but was wondering is there a way of doing this for every enemy globally and make sounds louder than the normal volume. I tried this for every enemy even though this is a player character and it did work but the volume seemed to low and also it was time consuming when all enemies have the same FSM on them. So i was wondering if there is a way to do these set of FSM once for all enemies or is there a easier way to doing enemy footsteps. Thanks in advance.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Enemy Footstep sounds
« Reply #1 on: October 19, 2016, 01:45:37 AM »
Hi,
If the value is the same for all enemies you can use a global float variable
or if they have all the same fsm/states/actions you can try using a template.

Right click on fsm and save template then in inspector, on the playmaker fsm script on use template, select your template

wendymorrison

  • Playmaker Newbie
  • *
  • Posts: 30
Re: Enemy Footstep sounds
« Reply #2 on: October 19, 2016, 04:01:07 AM »
They are all the same but all i had to do is change the objects, i was just wondering if there was a simpler way. The FSM are FootstepSoundsLeftFoot, FootstepSoundsRightFoot, RandomSound, SoundManager, TerrainAnalyzer and they all go on the enemy characters so i am using all the same FSM. Thanks for your help.