I was going to just send this to Andy, but I figured why bug him, maybe
someone else knows the answer, so ...
OK, I'm having trouble figuring out how to do this. Here's what I have.
First, there is this property tree set up:
yasim
weights
bomb-bay
rack n=0 type=double0/rack
· Josh Babcock [EMAIL PROTECTED] wrote:
hi josh!
Josh Babcock wrote:
# Set all the bomb triggers, and assign the proper weights for YASim.
loadout =
props.globals.getNode('/sim/weapons/loadout['~$loadout_index~']');
bombs = loadout.getChildren();
foreach (bomb, bombs) {
On January 9, 2006 04:19 pm, Curtis L. Olson wrote:
In nasal, I would like to check if a string ends in '.wav'. Is there an
easy way to do this?
Thanks,
Curt.
You can try this:
substr(foo, size(foo) - 5) == .wav
Ampere
---
This SF.net
3 matches
Mail list logo