Results 1 to 14 of 14

Thread: Script Shortcut problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Script Shortcut problem

    i want to call those shortcuts "disband" "select_all" from script..but the call_object_shortcut doesn't work.
    it seems i have to specify a specific hud
    example
    call_object_shortcut HUD shortcut_name

    any idea on what hud i have to write for those ones?
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  2. #2

    Default Re: Script Shortcut problem

    Going by preferences\keys.dat, it should be card_manager for both of them.
    RTR VII Developer

  3. #3
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Script Shortcut problem

    thanks a lot ;)
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  4. #4
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Script Shortcut problem

    no it doesn't work :(
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  5. #5

    Default Re: Script Shortcut problem

    It would only work for the player-controlled faction. The AI doesn't use the UI.

    If you post your code, I'll look over it.
    RTR VII Developer

  6. #6
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Script Shortcut problem

    i know thhat ;).

    the code is simple

    call_object_shortcut card_manager disband

    i select the unit and then activate the script.NOTHING

    but if i use my keyboard shortcut it works...
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

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