Jump to content

Scripting help


MontyPython55

Recommended Posts

Can anyone see the problem with this script?

scn EssentialPlayerQuestScript

ref State to player.GetKnockedState

Begin OnStartCombat player
    setessential 00000007 1
    if State == 1
        player.setunconscious 1
        player.setunconscious 0
    endif
End

Begin OnCombatEnd player
    setessential 00000007 0
End

According to G.E.C.K.'s refusal to let me save, I screwed up somewhere. But, I have no clue where.

Edited by MontyPython55
Link to comment
Share on other sites

ref State to player.GetKnockedState

In that section you should only declare variables, the values are setted inside the blocktypes

However I'm not sure you'll be able to achieve what you have in mind, in that way.

Edited by Fallout2AM
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...