Difference between revisions of "User:Kyllagdrgn"
→Image
imported>Kyllagdrgn |
imported>Kyllagdrgn (→Image) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Math Test == | |||
<math> | |||
x + y =z | |||
2+2-1+5=12 | |||
</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]] |