I want to create the sound resref ="campfire" is possible to create it by typing:
object oSound = CreateObject(OBJECT_TYPE_PLACEABLE, "campfire", lLocation);
DelayCommand(fDelay, DestroyObject(oSound));
???
I want to create the sound resref ="campfire" is possible to create it by typing:
object oSound = CreateObject(OBJECT_TYPE_PLACEABLE, "campfire", lLocation);
DelayCommand(fDelay, DestroyObject(oSound));
???
The best way to go about this, when a campfire is created - if your locations are static campfires - is to simply place the sound and make it not active. Then, turn it on via a script.
If a character can create a campfire anywhere in an exterior area, then yes, you can create a sound placeable using its resref.
Just remember to use DestroyObject(GetNearestObjectByTag("TAG_NAME") to destroy the nearest sound placeable to the camp location when the campfire is doused.
FP!
Fester Pot, OK. I'll try do it.
If a character can create a campfire anywhere in an exterior area, then yes, you can create a sound placeable using its resref.
Does not work. I tried this:
object oSound = CreateObject(OBJECT_TYPE_PLACEABLE,"campfire",GetLocation(OBJECT_SELF));
I can't listen to the sound of campfire
I guess because it isn't PLACEABLE and it is SOUND.
How to play sound al_cv_firecamp1 by 60 seconds?
Bummer. Figured it would work. Oh well. ![]()
FP!
I need to loop a campfire sound. The string of the sound is "al_cv_firepit1"