flattspott
Feb 22 2004, 03:06 PM
Like the $ActualPath$, only this would be for ActionScripts.
BenJeremy
Feb 22 2004, 03:08 PM
Well, list any other specials you want, too...
when I hit that code, I'll look at adding them.
flattspott
Feb 22 2004, 03:48 PM
Aside from that, all I'd really like is a bit more info in the ActionScriptReadMe.txt file. For the odd stuff that I have no idea what it's for or even how or why I should use them.
Specifically these one
| CODE |
- FNMERGE <Path> <Filename> [<Extension>] -- IQGetMsgID [<ID>] -- IQPeekMsgID -- IQPeekStrength -- IQPeekShiftStrength -- IQPeekCtrlStrength -- IQPeekAltStrength -- IQGetMsgCount -- UIGetEvtCount IQClear IQTable <name> IQPushMsg <ID> <Str> <ShftStr> <CtrlStr> <AltStr> IQWaitMsg [<MsgID> [...<MsgID>]] ReconfigUIObject <Handle> UIQClear UIQGetEvent UIQPeekEvent
|
BenJeremy
Feb 22 2004, 04:24 PM
| QUOTE (flattspott @ Feb 22 2004, 12:48 PM) |
Aside from that, all I'd really like is a bit more info in the ActionScriptReadMe.txt file. For the odd stuff that I have no idea what it's for or even how or why I should use them.
Specifically these one
| CODE | - FNMERGE <Path> <Filename> [<Extension>] -- IQGetMsgID [<ID>] -- IQPeekMsgID -- IQPeekStrength -- IQPeekShiftStrength -- IQPeekCtrlStrength -- IQPeekAltStrength -- IQGetMsgCount -- UIGetEvtCount IQClear IQTable <name> IQPushMsg <ID> <Str> <ShftStr> <CtrlStr> <AltStr> IQWaitMsg [<MsgID> [...<MsgID>]] ReconfigUIObject <Handle> UIQClear UIQGetEvent UIQPeekEvent
|
|
-- FNMERGE <Path> <Filename> [<Extension>]
.....Merges a path, base filename and extension into a single, complete file path
-- IQGetMsgID [<ID>]
.....Pops an Input Message from the queue and loads the variable with the Msg ID
-- IQPeekMsgID
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg ID
-- IQPeekStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Strength
-- IQPeekShiftStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Shift Strength
-- IQPeekCtrlStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Ctrl Strength
-- IQPeekAltStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Alt Strength
-- IQGetMsgCount
.....Loads the variable with the number of input messages waiting on the Input Queue
-- UIGetEvtCount
.....Loads the variable with the number of UI Event messages waiting on the Input Queue
IQClear
....Clear the Input Queue of messages
IQTable <name>
....Sets the translation table to the named translation table (as defined in the internal.xml or MXM.xml files)
IQPushMsg <ID> <Str> <ShftStr> <CtrlStr> <AltStr>
....Allows you to push a message onto the Input Queue
IQWaitMsg [<MsgID> [...<MsgID>]]
....Waits for a message matching one or more Msg IDs
ReconfigUIObject <Handle>
....Forces the dialog with the given handle to refresh it's configuration (mostly not needed) Why is it not needed? Because if you use the dialog handle to set XML values in the dialog config, it will force the dialog to refresh anyway.
UIQClear
....Clears the UI Event Message Queue
UIQGetEvent
....Pops a UI Event Message from the UI Event Message queue
UIQPeekEvent
....Peeks (does not remove the message form the queue) at a UI Event Message on the UI Event Message queue
flattspott
Feb 22 2004, 05:23 PM
Thanks alot.
geniusalz
Feb 22 2004, 06:11 PM
When is the UI event queue needed? AFAIK, each event is triggered instantaneously.
BenJeremy
Feb 22 2004, 07:01 PM
| QUOTE (geniusalz @ Feb 22 2004, 03:11 PM) |
| When is the UI event queue needed? AFAIK, each event is triggered instantaneously. |
For modeless dialogs

You might want to monitor the queue if you were displaying a progress dialog, for example.
Kthulu
Feb 28 2004, 02:58 AM
as far as $ScriptPath$ goes, if you are just wanting the path to the currently running script, try this...
| CODE |
BeginDraw MessageBox "Hello, i am a script. My path is %0%" EndDraw
|
LarryX
Mar 13 2004, 08:39 PM
| QUOTE |
| Like the $ActualPath$, only this would be for ActionScripts. |
I use a script under _autoexec in mxm.xml...
To keep MXM versital these paths would need to be editable most likely in the mxm.xml... I don't like using $ActualPath$ because it's realative to where mxm is run from. An absolute path edited by the user one time I think would be better...
| CODE |
;# ;#Set MXM Scripting Enviroment Path Variables ;#auto load in AutoExec in MXM.xml ;#
SET _scriptpath "c:\\mxm\\mxmscripts\\" SET _gamepath "f:\\games\\" ;SET _appspatch "f:\\apps\\" ;SET _skinpath "c:\\mxm\\mxmskins\\" ;SET _mediapath "e:\\mxmmedia\\" ;SET _thumbspath "e:\\mxmmedia\\" ;SET _coverartpath "e:\\mxmmedia\\" |
flattspott
Mar 13 2004, 10:22 PM
That is a badass idea, why didn't I think of that?
I'm gonna make this into a script that puts nodes just for that into the MXM xml and the use and autoexec script to get the paths.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.