Difference between revisions of "User:Kyllagdrgn"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Kyllagdrgn
imported>Kyllagdrgn
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Math Test'''
== Math Test ==
<math>
<math>
x + y =z
x + y =z
Line 5: Line 5:
</math>
</math>


== Papyrus using source tag ==
<source lang="papyrus">
<source lang="papyrus">
  Scriptname MyTriggerBoxScript extends ObjectReference
  Scriptname MyTriggerBoxScript extends ObjectReference
Line 19: Line 20:
</source>
</source>


== Papyrus using syntaxhighlight tag ==
<syntaxhighlight lang="papyrus">
<syntaxhighlight lang="papyrus">
  Scriptname MyTriggerBoxScript extends ObjectReference
  Scriptname MyTriggerBoxScript extends ObjectReference
Line 32: Line 34:
  EndEvent
  EndEvent
</syntaxhighlight >
</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

Image[edit | edit source]

File:Test-image.jpeg