Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » code
Re: code [message #492892 is a reply to message #492891] Wed, 18 July 2018 11:53 Go to previous messageGo to previous message
dblaney1 is currently offline  dblaney1
Messages: 358
Registered: March 2014
Location: United States
Karma:
Commander
Yes.
You can either use:

Create_Sound_Player(GameObject *obj,const char *soundname,const Vector3 & position,GameObject *obj2)

or

Create_2D_WAV_Sound_Player(GameObject *obj,const char *soundname)

You can also use the console command sndp.

If your sound is dialog though I recommend using:

Create_2D_Wave_Sound_Dialog_Player(GameObject *obj,const char *soundname)

That makes it play over the dialog channel/volume rather than sound effects.

[Updated on: Wed, 18 July 2018 11:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Renegade infantry model source files and infantry LOD
Next Topic: 3d modeler and graphics artist needed
Goto Forum:
  


Current Time: Sun Nov 24 17:26:26 MST 2024

Total time taken to generate the page: 0.01003 seconds