Jump to content
TheManGoesWild

Simple play sound script?

Recommended Posts

It is actually really simple to do. 

either you can use the 

int PlaySample(const char *File_);

or the

int PlaySample3D(const char *File_, const Vector &Pos_, bool looping_ = false);

 

The first one is the super simple, it just plays the sound on the entire map. The seconds only plays it in a specific area(Usally on an object)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...