Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: How to make that a sound it was play from a script with positioning(panning)?  (Read 2169 times)

0 Members and 1 Guest are viewing this topic.

Lion

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 101
    • View Profile

How to make that a sound it was play from a script with positioning(panning)?

Tried:

on "LeftClick"
{
   this. PlaySound ("sounds \hexagon_rotate_left.ogg", false);
}

does not work, the sound always sounds in the center.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site

Sound panning of an actor/entity is determined by its position on screen. Also, it's .SoundPanning property needs to be set to true (it is, by default).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.04 seconds with 24 queries.