Guild of Writers • View topic - Question about event triggering.
I want to trigger events just by entering a region.
Not using a button, but just the fact that the avatar enters a defined "volume in space" it triggers a oneshot event.
Can be a sound or an animation.
Can anyone give me a script for this?
Re: Question about event triggering.
There is a QuickScript for a region that triggers an avatar animation (oneshot).
This triggers a responder to which you can assign anything you want.
I am aware of that, but unfortunately its not the avatar that has to be animated.
To be more exact , I want a sound that starts to play when the avatar enters a space volume.
But the sound will still be heard when the avatar leaves this space.
This cannot be done with soundregions, because they will stop abruptly when you leave the region.
Sorry I did not see your edit, because i was writing the post above.
Okay then I edit this post as well.
I think your answer, answers my question, I will give this a try.
Sorry , but my understanding of Alcscript and Python is still minimal.
I tried the following but it did not work.
Can you give me more clues?
You did not define a responder to play the sound. It is not possible to run a sound emitter directly.
Sorry, I thought you had seen enough AlcScript by now to figure out the rest.
I wished , this was true.
Its realy very hard for me to understand Alcscript and python is even worse.
The mistakes i can make , I do make.
It withholds me a bit from making better puzzles in my ages, because i never get the code working.
Thx for your help again D'lanor, this one works as it should.
I can realy use this on many places.
So it helped me a lot.