Results 1 to 6 of 6

Thread: Scripting issues - Reload event

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Scripting issues - Reload event

    Has anyone been able to get the GameReloaded event working? I was following along Epistolary Richard's scripting tutorial, and simply made this change:

    Trigger 2137_Help_Campaign_Keyboard_Shortcuts_Scroll_Trigger
    ;WhenToTest ScrollAdviceRequested
    WhenToTest GameReloaded

    Condition ScrollAdviceRequested help_scroll

    AdviceThread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread 0
    And the game CTDs on startup.

    EDIT: Ok well, the CTD was due to a spelling error in the path to the script, which I fixed. Now the game starts up, but there is no effect from the script (no automatic adding of money). I realized that the Condition there consumed a parameter (possibly) so I tried both variations: either commenting the entire condition line out and just leaving WhenToTest and the AdviceThread, and also tried using a condition that consumed no parameters, namely "LosingMoney", i.e.:

    Trigger 2137_Help_Campaign_Keyboard_Shortcuts_Scroll_Trigger
    ;WhenToTest ScrollAdviceRequested
    WhenToTest GameReloaded

    ;Condition ScrollAdviceRequested help_scroll
    Condition not LosingMoney

    AdviceThread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread 0
    This starts up, again, but produces no increase to the treasury.
    Last edited by SigniferOne; 10-04-2005 at 21:01.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO