March 28, 200223 yr 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?
March 28, 200223 yr 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
March 28, 200223 yr Author 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?
March 28, 200223 yr 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.
March 28, 200223 yr 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.
March 28, 200223 yr Dan, sometimes the simple solutions are not the best. Why create more work for yourself with extra layouts. Therefore more scripting.
Create an account or sign in to comment