Page 3 of 4

Re: animation quickscript test

PostPosted: Fri Aug 08, 2008 7:43 am
by Zirrus
Ok, I didn't know that you could just put multiple code under one name...or that doing otherwise would corrupt everything.

Now I can click the button but nothing happens.

Can i do it like this?
Or do i have to keep the hierarchy?

Show Spoiler


Well, this one does not work so i guess i screwed something up. Again.

Re: animation quickscript test

PostPosted: Fri Aug 08, 2008 8:05 am
by D'Lanor
The Alcscript looks ok.

Did you create the SDL file? And you also need a Python file to enable SDL as covered here.

Once we are done testing here I will put full instructions on the wiki.

Re: animation quickscript test

PostPosted: Fri Aug 08, 2008 9:43 am
by diafero
Perhaps you could look at the "Python.0.log" file using PlasmaShop? It should at least show if the Python stuff is called at all and if there are SDL problems.

Re: animation quickscript test

PostPosted: Fri Aug 08, 2008 2:28 pm
by GPNMilano
Since Zirrus got his post somewhat answered. I won't offer my solution to his dilemma of why his object may not be clickable. But I will offer it as a warning to others.

If you have an age with multiple PRPs a word of warning, make sure your objects that are going to interact are all on the same prp (they all must have the same page number) When I created the regions for my doors and region and clickable, the clickable and door had the same page num (as I had previously attempted to create this) but the region did not. As a result the clickable wasn't clickable (it couldn't find the region to activate the hotspot. Just a word of caution for the future.

Re: animation quickscript test

PostPosted: Fri Aug 08, 2008 3:11 pm
by Nadnerb
As a general rule, this may be true, but it is also worth noting that you CAN spread objects like this across pages, you just need to extend your refs to include the page name. (ie type:name@page)

Re: animation quickscript test

PostPosted: Sat Aug 09, 2008 2:29 am
by Zirrus
Looks like I made about one of the most stupid mistakes that's possible...

Please don't laugh. :?

Show Spoiler


Now everything works perfectly.

Re: animation quickscript test

PostPosted: Sat Aug 09, 2008 4:35 am
by andylegate
Don't feel bad.

With as much info we have to know, and as many things that have to be done to make an Age, if you're by yourself, you'll forget something and have to go back. Even a group will suffer that.

TOO MUCH INFO>>>>BRAIN EXPLODES>>>>>>>

Re: animation quickscript test

PostPosted: Sat Aug 09, 2008 11:43 am
by Zirrus
I guess I am just too used to the <arrows> around every word that should be replaced... :D

Re: animation quickscript test

PostPosted: Tue Sep 02, 2008 10:41 am
by Whilyam
Great script! Works like a charm. One addition, perhaps. Have a simple true/false for something like "block clicking while animation is running". Otherwise, I would imagine you could down a server sitting and repeatedly clicking the buttons.

Re: animation quickscript test

PostPosted: Tue Sep 02, 2008 12:10 pm
by D'Lanor
You are right. The activator should be disabled while the actions are running. It may seem a simple thing but it is not that easy to implement. I would not know how to do that with Alcscript.

It could easily be done with Python but since we are using Cyan's global Python scripts here that is not an option.