Jump to content

Pototo

Members
  • Posts

    7
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Pototo

  1. Requested in discord: script example to use NpcTrade function (selling stuff at npc vendor) with a Do-not-sell list.

    Notes:

    • NpcTrade does not require to open dialogue, just by targeting the vendor is enought (at least here in toggle).
    • Take special care when editing DoNotList Length because it may happen that compiling doesn't give any error but later on adrenaline will crash while running.
    • LoadItems function (move stuff to WH) should work the same as this but it is not working on trial verion

    Share & Enjoy

     

    NpcTrade.txt

    • Like 1
  2. Found an error by chance while testing other scripts. That error made char to SoE instead starting fighting  😥


     

    Quote

     

    //if GetCity <> NON_CITY means you died and went to town

    if (GetCity <> NON_CITY) then break;

     

    forgot to add argument to avoid  using SoE

    Quote

    function    GetCity (shouldGoHome: boolean = true; inCityEvt: boolean = false): TCity;

     

     

    PD: how come there is no edit option to edit first post?

     

    Nobless - Adrenaline.zip

  3. Hello. Here you have a pack contanining scripts for quests:

    1. Possessor of a Precious Soul - 1
    2. Possessor of a Precious Soul - 2
    3. Possessor of a Precious Soul - 3
    4. Possessor of a Precious Soul - 4

    Beware to read README.txt first.

    This scripts were not tested on this server (may get stuck in some dialogue parts) and I dont have characters to test it right now. Feel free to report any issues.

     

    Share & Enjoy

    ED: re-uploaded fixed files

     

    Nobless - Adrenaline.zip

    • Thanks 2
×
×
  • Create New...