Menu

#2 Add extended script functions

Next Release (v1.0)
open
RyanDog
Functions (18)
5
2007-02-23
2007-01-16
No

Extended functions equivalent to the standard IsScriptRunning and StartScript should be added, i.e.
xIsScriptRunning <string>
and
xStartScript <string>
An additional function, xScriptExists (or a similar name) should be included.

This would allow dynamically detecting other mods and invoking scripts in them.

Discussion

  • Fliggerty

    Fliggerty - 2007-01-16
    • milestone: --> Next Release (v1.0)
     
  • Grant McDorman

    Grant McDorman - 2007-02-23

    Logged In: YES
    user_id=178930
    Originator: YES

    Investigation reveals that in order to find a script by name, the entire list of scripts must be searched.

    Thus, it would be better for an 'xGetScriptRef' function (or similar) to be provided, and for xIsScriptRunning and xStartScript to take a reference to a script.

     
  • Grant McDorman

    Grant McDorman - 2007-02-23
    • assigned_to: nobody --> ryandog
     

Log in to post a comment.