Difference between revisions of "User:Kyllagdrgn"
Jump to navigation
Jump to search
imported>Kyllagdrgn |
imported>Kyllagdrgn (→Image) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Math Test == | |||
<math> | <math> | ||
x + y =z | x + y =z | ||
2+2-1+5=12 | 2+2-1+5=12 | ||
</math> | </math> | ||
== Papyrus using source tag == | |||
<source lang="papyrus"> | |||
Scriptname MyTriggerBoxScript extends ObjectReference | |||
Quest Property MyQuest Auto | |||
Int Property StageToSet Auto | |||
Event OnTriggerEnter(ObjectReference akActionRef) | |||
If akActionRef == Game.GetPlayer() | |||
MyQuest.SetStage(StageToSet) | |||
EndIf | |||
EndEvent | |||
</source> | |||
== Papyrus using syntaxhighlight tag == | |||
<syntaxhighlight lang="papyrus"> | |||
Scriptname MyTriggerBoxScript extends ObjectReference | |||
Quest Property MyQuest Auto | |||
Int Property StageToSet Auto | |||
Event OnTriggerEnter(ObjectReference akActionRef) | |||
If akActionRef == Game.GetPlayer() | |||
MyQuest.SetStage(StageToSet) | |||
EndIf | |||
EndEvent | |||
</syntaxhighlight > | |||
== Python using syntaxhighlight tag == | |||
<source lang="python"> | |||
def quickSort(arr): | |||
less = [] | |||
pivotList = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
</source> | |||
== Image == | |||
[[File:Test-image.jpeg]] |
Latest revision as of 10:07, 18 October 2017
Math Test[edit | edit source]
Papyrus using source tag[edit | edit source]
Scriptname MyTriggerBoxScript extends ObjectReference
Quest Property MyQuest Auto
Int Property StageToSet Auto
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
MyQuest.SetStage(StageToSet)
EndIf
EndEvent
Papyrus using syntaxhighlight tag[edit | edit source]
Scriptname MyTriggerBoxScript extends ObjectReference
Quest Property MyQuest Auto
Int Property StageToSet Auto
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
MyQuest.SetStage(StageToSet)
EndIf
EndEvent
Python using syntaxhighlight tag[edit | edit source]
def quickSort(arr):
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass