tmanning Posted March 28, 2002 Posted March 28, 2002 I have several portals on the same page. If I have a script that says go to Portal Row #1, it always goes to the top row of the first portal. How can I tell it to go to the first row of the other portals? I have used several combinations of Go to Field... and Go to Portal Row... script steps. It always goes to the correct field but then goes to the correct row on the wrong portal. This is very confusing. Any suggestions?
andygaunt Posted March 28, 2002 Posted March 28, 2002 If in your script you have Go to field [a field that exists in the actual portal] Go to portal row [specify here]. As long as the field exists in the portal it will go there and that you do not do anything between go to field and then go to portal row, it will go to the correct portal row of the correct portal. Is that too many corrects?. HTH
tmanning Posted March 28, 2002 Author Posted March 28, 2002 Actually, it doesn't. When I say Go to Field it goes to the correct fied. Then when I say Go to Portal Row, it goes to that portal row of the portal above it. Remember, I am displaying multiple portals on the same layout. I suppose that I could make a separate layout but since there are over a dozen of them, that doesn't seem very efficient. What do you think?
andygaunt Posted March 28, 2002 Posted March 28, 2002 Okay, to prove this does work, download this sample. It uses two related files with two portals on the same layout. Unzip and open main.fp5 Choose the portal and type in a row number and click go. Now change your portal and choose a different row number if you wish. download sample from. (8kb) www.albion.co.uk/sample/correctportal.zip HTH you solve your problem.
danjacoby Posted March 28, 2002 Posted March 28, 2002 You could create separate layouts, each with its own portal, then have the script go to the proper layout & go to portal row. I like simple solutions, I do.
andygaunt Posted March 28, 2002 Posted March 28, 2002 Dan, sometimes the simple solutions are not the best. Why create more work for yourself with extra layouts. Therefore more scripting.
Recommended Posts
This topic is 8277 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now