Help with scripting phrase

Discussion in 'General Modification' started by Livonya, Mar 22, 2005.

Remove all ads!
  1. Livonya

    Livonya Established Member

    Joined:
    Sep 25, 2003
    Messages:
    773
    Likes Received:
    0
    I have been busting my head against a wall...

    This phrase does work inside the Dismissal spell script...

    d20_query_has_spell_condition( sp_Summoned )

    But I can't get it to do anything outside of that environment...

    Any help or tesing to get more out of this would be quite helpfull...

    When I use this same phrase in my scripts it fails to process...

    There is something special about it within the Spell script, I think, but I can't figure out how or why...

    Any ideas?

    - Livonya
     
  2. dulcaoin

    dulcaoin Established Member Veteran

    Joined:
    Mar 10, 2005
    Messages:
    213
    Likes Received:
    0
    Are you trying this inside a spell script, or a different one?

    I suspected during some experiments that certain commands only work in spell scripts, and didn't seem to work right from the console, but it was just a hypothesis, and I was never able to test it.

    The fact that the console is incomplete even as a python interpreter is extremely annoying, BTW :)

    -- d
     
  3. Livonya

    Livonya Established Member

    Joined:
    Sep 25, 2003
    Messages:
    773
    Likes Received:
    0
    D -

    Yeah, it only seems to work inside a spell script.

    However, if does return a 0 value at all times in the console if you add ' around the spell name.... 'sp-Summoned'

    I am still working on a solution for Silence and Stinking cloud...

    I have a really messed up solution that will require some massive scripting effort, but I am looking for something easier before I go that route of insanity...

    - Livonya
     
Our Host!