Difference between revisions of "User:Kyllagdrgn"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Kyllagdrgn
imported>Kyllagdrgn
 
Line 47: Line 47:
</source>
</source>
== Image ==
== Image ==
[[File:Test-image.jpg]]
[[File:Test-image.jpeg]]

Latest revision as of 09: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