filename set as variable?
Posted: Wed Sep 27, 2006 11:31 pm
Hello all,
Can I have a filename set as a variable? Here is what I am trying to do:
on create actor
on collision
but it doesn't seem to work
Can I have a filename set as a variable? Here is what I am trying to do:
on create actor
- Code: Select all
variable="data\filename.wav";
on collision
- Code: Select all
PlaySound2((variable), 1, 1, 0);
but it doesn't seem to work