Move...

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Move...

Postby juhuwoorps » Tue Aug 19, 2008 6:19 am

Hello alltogether!

I try to get more information about the advanced modes of AM and played around with it.
So far so good.
Now I have tried to move a hotspot, but I don't understand the syntax of it.

I tried this:
Code: Select all
Hotspot(3).Move X*15,Y*15,WIDTH*15,HEIGHT*15


And when I click the hotspot it moves to the upper left corner(originaly in the middle of the left site)
But I want it to move to the right site of the frame.
I have changed the 15 but the result was always the same:It moved to the upper left corner.

How did I use this correctly?

I've found the code above here in the forum in some thread. Don't know where it was.

Thanks for help!


Edit:

The power of posting :)

I have to replace the X or Y with a ccordinate!
And don't write a x or y before the number!
juhuwoorps
Code Master
 
Posts: 622
Joined: Tue Jul 08, 2008 3:13 pm

Postby mercedes » Tue Aug 19, 2008 9:52 am

Hi there...):

Glad you figured it out..:) Nice to hear you are enjoying the scripting part , as do I...as frustrating as it can be..:P

Peace
Adieux~
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Lyberodoggy » Tue Aug 19, 2008 11:02 am

Yeah the problem you had was because AM scripting engine thought X Y width and height were variables and because they weren't they didn't have a value, so AM thought they were equal to 0
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron