Morrowind Mod talk:Alphabetical Function List

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

I've been working on my first mod for quite some time now, and recently I just ran into my first problem creating my first script:

begin, Fighter_beneath

Short fighter

if ( SS_Fighter1->GetHealth < 50 )

  stopCombat
  SS_Fighter1->sethealth, 250
  SS_Fighter2->sethealth, 250
  SS_Fighter1->SetFatigue, 1000
  SS_Fighter2->SetFatigue, 1000
  SS_banditgamblebeneath->set fighter to 3

endif if ( SS_Fighter2->GetHealth < 50 )

  stopCombat
  SS_Fighter1->sethealth, 250
  SS_Fighter2->sethealth, 250
  SS_Fighter1->SetFatigue, 1000
  SS_Fighter2->SetFatigue, 1000
  SS_banditgamblebeneath->set fighter to 2

endif

End

The script is supposed to stop a fight, reheal the opponents and determine the winer, the resons for this is that its a gambling structure with dialog, journal indexes and this script it should work nbut heres my problem: It won't "set fighter to 2"/"set fighter to 3", the dialog witch should work once "fighter" is 2 or 3 doesn't work, instead the dialog stays as if "fighter" was still in 1, witch it is set to in earlier dialog.

If anyone know what I did wrong/what I should do please say so. I know I should probably ask this question on a forum somewhere, but they all require some kind of membership. — Unsigned comment by 83.94.246.228 (talk) on 2 December 2010

Sorry but this isn't the place to ask for modding help. There aren't many active modders here for a start, and talk pages are supposed to be about improving articles, not modding help. You're going to have to register on a forum. rpeh •TCE 09:55, 3 December 2010 (UTC)

Note about Operators[edit]

This Note is at the top of the page:
Note: ->, +, -, etc. are described in Operators
This is not true. The page referenced uses two examples, -> and <= only. Chill fridge (talk) 21:45, 12 June 2023 (UTC)