Skip to content

Instantly share code, notes, and snippets.

View darkconsole's full-sized avatar
🙃
derp a derp

darkconsole darkconsole

🙃
derp a derp
View GitHub Profile
Scriptname dcc_yoink_EffectMenu_Main extends ActiveMagicEffect
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Event OnEffectStart(Actor caster, Actor target)
self.OpenMenu(caster)
Return
EndEvent
Event OnAnimationEvent(ObjectReference who, String ename)
;; determine which hand did it. quit if we picked up an event we didnt
;; actually care about.
Bool lefthand
Int weapslot
If(ename == "weaponSwing")
lefthand = False
weapslot = 1
ElseIf(ename == "weaponLeftSwing")
ObjectReference Function PokeCreate(Actor animal)
;; place a new ball at the foot of the target
ObjectReference ball = animal.PlaceAtMe(self.dcc_ut_WeapPokeBall)
;; move it up a bit to try and make it stop falling through floors.
ball.MoveTo(animal,0.0,0,0,100.0)
;; bind a display name to it. this is what will keep it unique in the game
;; i hope.
Scriptname dcc_mse_EffectMilker_Main extends ActiveMagicEffect
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
sgo_QuestController Property SGO Auto
ImageSpaceModifier Property dcc_mse_ImodMilkerMilking Auto
;;;;;;;;
;;;;;;;;
Event OnOptionSliderOpen(Int menu)
Float val
Float min
Float max
Float interval
If(menu == MenuPregTime)
val = Untamed.OptPregTime
min = 0.0
.info
.source "dcc_dm_QuestController_Main.psc"
.modifyTime 1431128708
.compileTime 1432966873
.user "darkconsoleb"
.computer "RARITY"
.endInfo
.userFlagsRef
.flag hidden 0
.flag conditional 1
Function HasUiExtensions()
{make sure the mods this mod depends on exist.}
Int mod = Game.GetModByName("UIExtensions.esp")
If(mod == 255)
String msg
msg = "You do not appear to have UIExtensions installed or activated. "
msg += "Stop being bad, read the info for mods you install.\n\n"
msg += "UIExtensions: http://www.nexusmods.com/skyrim/mods/57046/"
Function FunkSoulBrother()
{<casually whistles to self>}
Actor friend
While(True)
friend = self.Player.PlaceAtMe(self.SaberCat) as Actor
friend.ModActorValue("Health",9001)
friend.ModActorValue("AttackDamageMult",42)
friend.StartCombat(self.Player)
Function HasUiExtensions()
{make sure the mods this mod depends on exist.}
Int mod = Game.GetModByName("UIExtensions.esp")
If(mod == 255)
String msg
msg = "You do not appear to have UIExtensions installed or activated. "
msg += "Stop being bad, read the info for mods you install.\n\n"
msg += "UIExtensions: http://www.nexusmods.com/skyrim/mods/57046/"
Event OnKeyDown(Int KeyCode)
While(Input.IsKeyPressed(KeyCode))
If(KeyCode == self.KeyRotX1)
self.HandleRotX(1)
ElseIf(KeyCode == self.KeyRotX2)
self.HandleRotX(-1)
ElseIf(...)
...
EndIf
EndWhile