playMaker

Author Topic: Noise Level Trigger Actions  (Read 3129 times)

jaypis

  • Playmaker Newbie
  • *
  • Posts: 1
Noise Level Trigger Actions
« on: August 10, 2012, 08:18:29 PM »
I'm looking for something like Overlapping Spheres that's created around the player that decreases/increases in size depending on the player stance/actions, ie. running, walking, crouching,e etc. This can be set as a trigger so that it'll trigger NPC's when they are inside the Overlapping Sphere.

Any help would be greatly appreciated.

Thanks,

Jay


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Noise Level Trigger Actions
« Reply #1 on: August 13, 2012, 03:23:56 AM »
Hi,

 not really sure about what you are actually after. What's the link between overlapping sheres, and noise level?

bye,

 Jean

Uttpd

  • Junior Playmaker
  • **
  • Posts: 70
Re: Noise Level Trigger Actions
« Reply #2 on: August 14, 2012, 10:18:58 PM »
guessing: "Noise" would be the character actual noise related to the actions performed in game

If you do not need a visual representation of this triggers (spheres) it might be easier/ simpler to;
Get the distance to player and compare it to a float Variable (if more = do nothing, if less = attack etc)
you can then alter this variable (player running = increase, player crouch = decrease etc) simulating the "noise" made by the player.