Action.GoToFrame (SOLVED)

This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!

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

Action.GoToFrame (SOLVED)

Postby PINGO TINTO » Sun Apr 22, 2012 2:26 am

Using the Action.GoToFrame "to another frame/ that is in another folder" ?????

how to write the path correctly ???
Last edited by PINGO TINTO on Sun Apr 22, 2012 11:26 am, edited 2 times in total.
User avatar
PINGO TINTO
Advanced Member
 
Posts: 182
Joined: Wed Jun 17, 2009 6:17 pm
Location: PORTUGAL

Postby mercedes » Sun Apr 22, 2012 5:23 am

If you want the user to go to another frame...within the same project..Then its;

Action.gotoframe nameofframe

If you want the user to open another file..in another place...then you might have to use;

Action.Openfile

Provided the file is in the External sub folder..or use the full path to where the file is..

Is this what you mean..?

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

Postby PINGO TINTO » Sun Apr 22, 2012 11:04 am

mercedes wrote:If you want the user to go to another frame...within the same project..Then its;

Action.gotoframe nameofframe

If you want the user to open another file..in another place...then you might have to use;

Action.Openfile

Provided the file is in the External sub folder..or use the full path to where the file is..

Is this what you mean..?

**********


for example
GoToFrame "drop/ red"
is folder drop / red frame ???

Or just write the name of the frame

GoToFrame "red" ????
User avatar
PINGO TINTO
Advanced Member
 
Posts: 182
Joined: Wed Jun 17, 2009 6:17 pm
Location: PORTUGAL

Postby juhuwoorps » Sun Apr 22, 2012 11:10 am

Why don't you just try it?

You can't name frames with the same name even they are in different folders. So I think you can just use the framename.
juhuwoorps
Code Master
 
Posts: 622
Joined: Tue Jul 08, 2008 3:13 pm

Postby insaneproject » Sun Apr 22, 2012 11:10 am

PINGO TINTO wrote:
mercedes wrote:If you want the user to go to another frame...within the same project..Then its;

Action.gotoframe nameofframe

If you want the user to open another file..in another place...then you might have to use;

Action.Openfile

Provided the file is in the External sub folder..or use the full path to where the file is..

Is this what you mean..?

**********


for example
GoToFrame "drop/ red"
is folder drop / red frame ???

Or just write the name of the frame

GoToFrame "red" ????


are from Portugal?
User avatar
insaneproject
Advanced Member
 
Posts: 193
Joined: Mon Apr 16, 2012 9:54 am
Location: SPAIN

Postby PINGO TINTO » Sun Apr 22, 2012 11:25 am

Is solved

I was fooling myself when writing the name of the frame.

But I thought I had to write the folder name and then the name of the frame.
User avatar
PINGO TINTO
Advanced Member
 
Posts: 182
Joined: Wed Jun 17, 2009 6:17 pm
Location: PORTUGAL

Postby PINGO TINTO » Sun Apr 22, 2012 12:34 pm

I forgot one thing!

Thanks for helping me
User avatar
PINGO TINTO
Advanced Member
 
Posts: 182
Joined: Wed Jun 17, 2009 6:17 pm
Location: PORTUGAL

Postby mercedes » Mon Apr 23, 2012 12:27 am

..No just simply name the frame..Also, you don't need to add the extension..:)

It can be either;

Action.GoToFrame "framename"

Or..

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


Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron