Is there a way to setup a triger that would popup a query window? What I'd like to do is when my transport ship arives I'd like to 'enter ship' and then have a popup window ask where I want to go. Then whatever I typed as my destination the trigger would 'engage to <destination>'
Any way of doing this?
TIA,
Szereck
If you are using VBScript you can use:
Dest = InputBox("What is your destination?","Destination Selection")
This and the MsgBox commands are built into VBScript. ;)
InputBox takes: InputBox (a, b, c, x, y, f, g) where:
a = Text to display.
b = Title of window.
c = Default value
x, y = Position from top left of desktop to place the window. This is in twips (don't ask), not pixels. If left off it centers the window.
f = Help file for your window.
g = Item in help file for your input window.
For the Msgbox, you may want to download the help files for Windows scripting (you can find the link to it under Plugins on the main forum page). These are primitive, but for what you want the InputBox should work. ;)