variable clone IDs with Script Events
Posted: Sat Jan 06, 2007 8:30 pm
How do I use SendActivationEvent with a variable clone ID?
The code above works fine for a single specific clone, but I want to be able to increment the Clone ID at will, something like...
...Obviously this doesn’t work, but what should the correct syntax be, or does this need to be done a completely different way?
Cheers in advance
- Code: Select all
SendActivationEvent("block_red.1");
The code above works fine for a single specific clone, but I want to be able to increment the Clone ID at will, something like...
- Code: Select all
CloneToTrigger++;
SendActivationEvent("block_red.CloneToTrigger");
...Obviously this doesn’t work, but what should the correct syntax be, or does this need to be done a completely different way?
Cheers in advance