Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

How does the dechickenator spell work

ajwzajwz Member Posts: 4,122
edited September 2012 in General Modding
Ok this isn't strictly a modding question but I thought this would be the best place to find an answer
How and when is the survival status of Melicamp determined in the dechickenator process? I have some saves where If I reload I can produce a different result, but others where I can keep reload but he will always die. How is this determined?

Comments

  • lansounetlansounet Member Posts: 1,182
    See State#27 of THALAN.DLG that sets the needed variables then onto THALANTR.BCS
    IF
    AttackedBy([GOODCUTOFF],DEFAULT)
    THEN
    RESPONSE #100
    SetGlobal("AttackThalantyr","GLOBAL",1)
    Enemy()
    END

    IF
    Trigger(1)
    THEN
    RESPONSE #50
    StartCutSceneMode()
    Face(1)
    SmallWait(1)
    ForceSpell("Melicamp",EFFECT_ONLY)
    Wait(1)
    ActionOverride("Melicamp",Polymorph(MAGE_MALE_HUMAN_LOW))
    EndCutSceneMode()
    RESPONSE #50
    StartCutSceneMode()
    Face(1)
    SmallWait(1)
    ForceSpell("Melicamp",EFFECT_ONLY)
    Wait(1)
    ActionOverride("Melicamp",Polymorph(MAGE_MALE_HUMAN_LOW))
    Kill("Melicamp")
    EndCutSceneMode()
    END

    All scripted, 50% (kinda biased towards the first response #50) chance of either result.

    ajwz
Sign In or Register to comment.