02-04-2017, 04:06 AM
After finding my old travel gump in the old sphere 1.0 release decided to have a play and made this little fun script, you know when you are at some tourist spot and they have a map with a big Arrow pointing to where you are,
Trammel/Felucca map.
Code:
[FUNCTION f_where_am_i]
src.dialog d_where_am_i
[DIALOG d_where_am_i]
0,0 // This makes the gump start in the top left corner of the screen
page 0
resizepic 0 0 3600 640 480
gumppic 1 1 5500
gumppic 60 50 5528
gumppic 2 2 5536
button <EVAL ((<p.x>*10)/137)+60> <EVAL ((<p.y>*10)/112)+50> 4507 4507 1 0 0
text <EVAL ((<p.x>*10)/137)+110> <EVAL ((<p.y>*10)/112)+80> 90 0
[DIALOG d_where_am_i TEXT]
YOU ARE HERE!
Trammel/Felucca map.