it is a little redundant, because you are quite likely to be handing a reference to a softvolume when filling in the "softvolume" property on an object, but the softvolume property on actual prp objects is simply a generic object reference. You could say, for instance reference a scene object, rather than an actual softvolume ("scnobj:randomThing") although that would make very little sense. So what you're saying is, "I want to set the "softvolume" reference in this object to reference a softvolume with the name <whatever>.
- Code: Select all
sv field reference to softvolume with name whatever
softvolume: softvolume:<whatever>
You have seen this before, you even had a little issue with the spacing. Remember when you were working on the sound on the clickable door?
there was a line in receivers that said
- Code: Select all
0011:zcdoorsnd1
that is a reference to an audio interface. It could be rewritten like this:
- Code: Select all
audioiface:zcdoorsnd1
the same way that this sofvol reference can be rewritten
- Code: Select all
0088:<softvolName>
The reason it's confusing is that references like this were really not used in the "exposed" areas of alcscript. ie, most of the "properties" you've been setting are names for things that just need values, for instance, the rc and page_num properties just need a number, not a reference to another object.