Skip to content

How do I get my "HotKeys" to work?

Ive got spells I would like to trigger by "Hotkeys" but totally clueless as to how to go about assigning my spells to Hotkeys.

Comments

  • BelanosBelanos Member Posts: 968
    Click on the Gameplay button on the main menu. At the very top of the screen that comes up is another button called Assign Keys. There you'll see an option for Mage/Cleric spells. Just find the spell you want to hot key, activate the selection by clicking on the little red symbol next to it and choose your key.
  • I see that you cant trigger a script by use of a HotKey any longer.
  • Triggering scripts by use of a Hotkey makes it so much easier to have a string of spells firing off, one after the other, instead of having to hit 6 or 7 hotkeys in sequence - wonder why they took away that ability ?
  • BelanosBelanos Member Posts: 968
    Probably because you don't need a script to do that once you get into Sequencers and Contingencies.
  • CuvCuv Member, Developer Posts: 2,535

    I see that you cant trigger a script by use of a HotKey any longer.

    Of course you can, just make sure you have PartyAI ON

    IF
    Hotkey(D)
    THEN
    Do whatever
    END

  • Ok , and where do I check to see if PartyAI is "On" or not??
  • elminsterelminster Member, Developer Posts: 16,315

    Ok , and where do I check to see if PartyAI is "On" or not??

    image
  • BelanosBelanos Member Posts: 968
    It's on by default so unless you don't turn it off for any reason, you won't have to worry about it.
  • CuvCuv Member, Developer Posts: 2,535
    edited December 2014
    Here is an old VENOM dueling script I came across - with hotkey use.

    [Spoiler]
    IF
    HotKey(A)
    THEN
    RESPONSE #100
    CutSceneId("Player1Fill")
    CutSceneId("Player2Fill")
    CutSceneId("Player3Fill")
    CutSceneId("Player4Fill")
    CutSceneId("Player5Fill")
    CutSceneId("Player6Fill")
    StartCutSceneMode()
    DisplayStringHead(SecondNearest,4864)
    SmallWait(20)
    DisplayStringHead(ThirdNearest,4861)
    SmallWait(20)
    DisplayStringHead(FourthNearest,4864)
    SmallWait(20)
    DisplayStringHead(FifthNearest,4864)
    SmallWait(20)
    DisplayStringHead(Myself,59571)
    ForceSpell(SecondNearest,FLASHY_3)
    PlayDead(5)
    CreateVisualEffectObject("SPROTECT",Myself)
    CreateVisualEffectObject("SPRWRA2I",Myself)
    CreateVisualEffectObject("SPRAISED",Myself)
    CreateVisualEffectObject("SPRWRATI",Myself)
    CreateVisualEffectObject("SPUNHOLY",Myself)
    CreateVisualEffectObject("SPWIRBLA",Myself)
    CreateVisualEffectObject("SPROTECT",Myself)
    SmallWait(30)
    DisplayStringHead(Myself,2844)
    CreateVisualEffectObject("SPMAGMIS",SecondNearest)
    CreateVisualEffectObject("SPCALLLI",SecondNearest)
    CreateVisualEffectObject("SPFIREPI",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("SPFLADOW",SecondNearest)
    CreateVisualEffectObject("CGALTERA",SecondNearest)
    CreateVisualEffectObject("CGILLUSI",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("MMAGICH",SecondNearest)
    CreateVisualEffectObject("SPBASEWT",SecondNearest)
    CreateVisualEffectObject("SPBEHBLA",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("SPCMWOUI",SecondNearest)
    CreateVisualEffectObject("SPCCWOUI",SecondNearest)
    CreateVisualEffectObject("SPCHLGT1",SecondNearest)
    ActionOverride(SecondNearest,DestroyAllEquipment())
    CallLightning(SecondNearest)
    Kill(SecondNearest)
    ActionOverride(SecondNearest,DropInventory())
    ActionOverride(SecondNearest,DestroySelf())
    ActionOverride(SecondNearest,Enemy())
    ActionOverride(SecondNearest,Deactivate())
    ActionOverride(SecondNearest,LeaveParty())
    SmallWait(30)
    DisplayStringHead(Myself,60501)
    ForceSpell(SecondNearest,FLASHY_3)
    PlayDead(5)
    CreateVisualEffectObject("SPROTECT",Myself)
    CreateVisualEffectObject("SPRWRA2I",Myself)
    CreateVisualEffectObject("SPRAISED",Myself)
    CreateVisualEffectObject("SPRWRATI",Myself)
    CreateVisualEffectObject("SPUNHOLY",Myself)
    CreateVisualEffectObject("SPWIRBLA",Myself)
    CreateVisualEffectObject("SPROTECT",Myself)
    SmallWait(5)
    CreateVisualEffectObject("SPMAGMIS",SecondNearest)
    CreateVisualEffectObject("SPCALLLI",SecondNearest)
    CreateVisualEffectObject("SPFIREPI",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("SPFLADOW",SecondNearest)
    CreateVisualEffectObject("CGALTERA",SecondNearest)
    CreateVisualEffectObject("CGILLUSI",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("MMAGICH",SecondNearest)
    CreateVisualEffectObject("SPBASEWT",SecondNearest)
    CreateVisualEffectObject("SPBEHBLA",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("SPCMWOUI",SecondNearest)
    CreateVisualEffectObject("SPCCWOUI",SecondNearest)
    CreateVisualEffectObject("SPCHLGT1",SecondNearest)
    ActionOverride(ThirdNearest,DestroyAllEquipment())
    CallLightning(ThirdNearest)
    Kill(ThirdNearest)
    ActionOverride(ThirdNearest,DropInventory())
    ActionOverride(ThirdNearest,DestroySelf())
    ActionOverride(ThirdNearest,Enemy())
    ActionOverride(ThirdNearest,Deactivate())
    ActionOverride(ThirdNearest,LeaveParty())
    DisplayStringHead(Myself,60500)
    ForceSpell(SecondNearest,FLASHY_3)
    ActionOverride(SecondNearest,PlayDead(5))
    CreateVisualEffectObject("SPROTECT",Myself)
    CreateVisualEffectObject("SPRWRA2I",Myself)
    CreateVisualEffectObject("SPRAISED",Myself)
    CreateVisualEffectObject("SPRWRATI",Myself)
    CreateVisualEffectObject("SPUNHOLY",Myself)
    CreateVisualEffectObject("SPWIRBLA",Myself)
    CreateVisualEffectObject("SPROTECT",Myself)
    SmallWait(30)
    CreateVisualEffectObject("SPMAGMIS",SecondNearest)
    CreateVisualEffectObject("SPCALLLI",SecondNearest)
    CreateVisualEffectObject("SPFIREPI",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("SPFLADOW",SecondNearest)
    CreateVisualEffectObject("CGALTERA",SecondNearest)
    CreateVisualEffectObject("CGILLUSI",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("MMAGICH",SecondNearest)
    CreateVisualEffectObject("SPBASEWT",SecondNearest)
    CreateVisualEffectObject("SPBEHBLA",SecondNearest)
    SmallWait(5)
    CreateVisualEffectObject("SPCMWOUI",SecondNearest)
    CreateVisualEffectObject("SPCCWOUI",SecondNearest)
    CreateVisualEffectObject("SPCHLGT1",SecondNearest)
    ActionOverride(SecondNearest,DestroyAllEquipment())
    CallLightning(SecondNearest)
    Kill(SecondNearest)
    ActionOverride(SecondNearest,DropInventory())
    ActionOverride(SecondNearest,DestroySelf())
    ActionOverride(SecondNearest,Enemy())
    ActionOverride(SecondNearest,Deactivate())
    ActionOverride(SecondNearest,LeaveParty())
    SmallWait(30)
    EndCutSceneMode()
    END
    [/Spoiler]
  • Borg_DealerOfDeathBorg_DealerOfDeath Member Posts: 79
    Sometimes, I type b4 I think - - - Of course, its on the far bottom right - a button -- the next to the last button.
    And my scripts are now running just fine by use of my HotKeys. The last time I did any scripting and editing was early in 2002.

    Considering Im 66 - - and tend to forget stuff Ive not been active in for so long, Im rather pleased with myself in that with a bit of trial and error, I still able to write workable scripts, for casting spells and many other actions, including getting rid of "party killers" who just come in and try to kill the host.
    Kinda reminded me of the days on GameSpy where we played the original BG2-Shadows Of Amn on Multi.
    Ahh - the good ole days~!
    I will say that the Enhance Version is miles better - all of the old bugs seem to have been "fixed".


    Thanks for all the responses and suggestions to my posts - I appreciate each and everyone of you who respond.

    HAPPY NEW YEAR to One and All~~~!!!
  • CuvCuv Member, Developer Posts: 2,535
    No problem @Borg_DealerOfDeath , always feel free to ask questions.
Sign In or Register to comment.