Benutzer:Brausebart: Unterschied zwischen den Versionen

Aus Skript-Wiki
Wechseln zu: Navigation, Suche
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 13: Zeile 13:
  
 
begin OnActivate
 
begin OnActivate
set cnt to cnt + 1
+
    set cnt to cnt + 1           ; Tabulator-Einrückung
set Temp to GetSecondsPassed
+
    set Temp to GetSecondsPassed
player.AddItem Gold001 100               ; ein sinnloser Kommentar
+
    player.AddItem Gold001 100   ; ein sinnloser Kommentar
  set RefVar to ContainerRef
+
    set RefVar to ContainerRef
 
end
 
end
  
 
begin GameMode
 
begin GameMode
  if (DoOnce == 0)
+
    if (DoOnce == 0)
set OBSEVrs to GetOBSEVersion          ; OBSE-Funktion
+
        set OBSEVrs to GetOBSEVersion          ; OBSE-Funktion
      message "OBSE-Version:%.0f", OBSEVrs
+
        message "OBSE-Version:%.0f", OBSEVrs
      set DoOnce to 1
+
        set DoOnce to 1
  endif
+
    endif
  
  if (cnt <= 0 && (temp != 42)) || (cnt == 1)
+
    if (cnt <= 0 && (temp != 42)) || (cnt == 1)
    Player.SetAV Luck 100
+
        Player.SetAV Luck 100
    Player.ModAV Strength 10
+
        Player.ModAV Strength 10
    RefVar.RemoveAllItems
+
        RefVar.RemoveAllItems
  else
+
    else
    SetStage TestQuest 10
+
        SetStage TestQuest 10
  endif
+
    endif
end
+
end</tesscript>
</tesscript>
 
  
[[constwiki:SetStage]]
+
[[edzlexikon:SetStage|SetStage]]
 
<categorytree depth=0>Scripts</categorytree>
 
<categorytree depth=0>Scripts</categorytree>
dfdsfs dfsfdfdsf
+
 
 +
{|
 +
|-
 +
!Ü1||Ü2||Ü3
 +
|-|
 +
|11||12||13
 +
|-|
 +
|21||22||23
 +
|}
 +
 
 +
<table>
 +
  <tr><td style="border:hidden">1</td><td style="border:hidden">2</td></tr>
 +
  <tr><td style="border:hidden">3</td><td style="border:hidden">4</td></tr>
 +
</table>

Aktuelle Version vom 27. Juli 2008, 02:59 Uhr

<tesscript>

--------------------------
Syntax Highlight Test / bb
--------------------------

scn TestSkript

ref RefVar short OBSEVrs float Cnt float temp short DoOnce

begin OnActivate

   set cnt to cnt + 1            ; Tabulator-Einrückung
   set Temp to GetSecondsPassed
   player.AddItem Gold001 100    ; ein sinnloser Kommentar
   set RefVar to ContainerRef

end

begin GameMode

   if (DoOnce == 0)
       set OBSEVrs to GetOBSEVersion           ; OBSE-Funktion
       message "OBSE-Version:%.0f", OBSEVrs
       set DoOnce to 1
   endif
   if (cnt <= 0 && (temp != 42)) || (cnt == 1)
       Player.SetAV Luck 100
       Player.ModAV Strength 10
       RefVar.RemoveAllItems
   else
       SetStage TestQuest 10
   endif

end</tesscript>

SetStage


Ü1 Ü2 Ü3
11 12 13
21 22 23
12
34