Non GlobalAnimations test age
Re: Non GlobalAnimations test age
I havn't got that far with learning all the nooks of AlcScript, hence i'm trying small steps
Better to have loved and lost than never to have loved at all
Re: Non GlobalAnimations test age
Back to this problem again, same exact problem.
I had created another topic, but found this one that I had started, and still having the problem
I have an empty that is where the animation starts from, a region, and in another blend file same setup but with a clickable
I've tried variations from both GoW and GoMa sites to no avail
Click to animate avatar or
avatar enters a region that triggers the oneshotmod
This is the code that Lontahv helped me with but it has a bug in it that I can't find.
what happens is if you walk backwards after the animation has finished, the avatar ends up doing the animation in an eternal loop.
Can anyone please help, preferrably not wih quickscripts, as I want to try really hard this time to know how to script this game
I had created another topic, but found this one that I had started, and still having the problem
I have an empty that is where the animation starts from, a region, and in another blend file same setup but with a clickable
I've tried variations from both GoW and GoMa sites to no avail
Click to animate avatar or
avatar enters a region that triggers the oneshotmod
This is the code that Lontahv helped me with but it has a bug in it that I can't find.
what happens is if you walk backwards after the animation has finished, the avatar ends up doing the animation in an eternal loop.
Can anyone please help, preferrably not wih quickscripts, as I want to try really hard this time to know how to script this game
Better to have loved and lost than never to have loved at all
Re: Non GlobalAnimations test age
I'm an idiot, I forgot to have the clickable itself set as an actor with bounds toggled.
Quickscript works, but i'd like to do it with full script
And I still would like the animation to play by region trigger only
Quickscript works, but i'd like to do it with full script
And I still would like the animation to play by region trigger only
Better to have loved and lost than never to have loved at all
Re: Non GlobalAnimations test age
You can look into the logfile and see the full script that the quickscript creates. Then you can adapt that to your wishes.
"It is in self-limitation that a master first shows himself." - Goethe
Re: Non GlobalAnimations test age
I've applied the script that appears in the log file, but the animation doesn't not work, i've gone through the python file, the log file and my script to see if anything is different than the generated quickscript, and I can't find a problem
from what I can see the script is broken into 2 lots, one for the object the other for the seek point, i'm kinda poking in the dark here
so as to ececuting the script for region triggering, I am clueless
from what I can see the script is broken into 2 lots, one for the object the other for the seek point, i'm kinda poking in the dark here
so as to ececuting the script for region triggering, I am clueless
Better to have loved and lost than never to have loved at all
Re: Non GlobalAnimations test age
Grr, I finally got the full script to work for a clickable, lots of indentation problems, this what I hate about AlcScript, that and not knowing what order to put things in.
I'm trying to get the quickscript.selfanimation.animation working, and thus far it isn't even loading the quickscript, let alone resolving it
Tried setting the region as oneshot and as a responder, nothing is working
I'm trying to get the quickscript.selfanimation.animation working, and thus far it isn't even loading the quickscript, let alone resolving it
Tried setting the region as oneshot and as a responder, nothing is working
Code: Select all
OneShotRgn:
quickscript:
selfanimation:
region: OneShotRgn
animation: SwimDockExit
seektime: 1.0
remote: OneShotSeekPt
Better to have loved and lost than never to have loved at all
Re: Non GlobalAnimations test age
Hmm, that quickscript seems to be missing one line.
... should probably be...
Edit: and it does not use the seekpoint you are providing...
Also this quickscript does not have the debugging enabled which writes its full code to the logfile. I have only added that to quickscripts I made or modified.
Code: Select all
modtxt += " conditions:\n"
modtxt += " - type: volumesensor\n"
modtxt += " direction: enter\n"
... should probably be...
Code: Select all
modtxt += " conditions:\n"
modtxt += " - type: volumesensor\n"
modtxt += " satisfied: true\n"
modtxt += " direction: enter\n"
Edit: and it does not use the seekpoint you are providing...

"It is in self-limitation that a master first shows himself." - Goethe
Re: Non GlobalAnimations test age
Ok, the "satisfied: true" makes sense
I then assume that the SelfAnimation uses the obdata centre as the seek point, that I can try out, but would have liked to use a seperate Empty as the seek point, and was hoping to copy out the builded script that does it so I may be able to understand what is going on.
I understand now that to use an Empty as a seek point is to use a responder on the region somewhere and script it up, I need to figure that part out
I then assume that the SelfAnimation uses the obdata centre as the seek point, that I can try out, but would have liked to use a seperate Empty as the seek point, and was hoping to copy out the builded script that does it so I may be able to understand what is going on.
I understand now that to use an Empty as a seek point is to use a responder on the region somewhere and script it up, I need to figure that part out
Better to have loved and lost than never to have loved at all
Re: Non GlobalAnimations test age
It uses no seek point at all. No surprise it doesn't work.
"It is in self-limitation that a master first shows himself." - Goethe
Re: Non GlobalAnimations test age
lol.
How are you calling the script in Blender, cause I still can't get it to build up that script internally
How are you calling the script in Blender, cause I still can't get it to build up that script internally
Better to have loved and lost than never to have loved at all