From af6f4ece182af77b4c06fce5494a004a82ab2001 Mon Sep 17 00:00:00 2001 From: acepleiades <69649956+acepleiades@users.noreply.github.com> Date: Tue, 29 Nov 2022 13:54:54 -0300 Subject: [PATCH] Remove oActro script --- Scripts/Source/_oActro.psc | 222 ------------------------------------- Scripts/_oActro.pex | Bin 8116 -> 0 bytes 2 files changed, 222 deletions(-) delete mode 100644 Scripts/Source/_oActro.psc delete mode 100644 Scripts/_oActro.pex diff --git a/Scripts/Source/_oActro.psc b/Scripts/Source/_oActro.psc deleted file mode 100644 index 017e3cb..0000000 --- a/Scripts/Source/_oActro.psc +++ /dev/null @@ -1,222 +0,0 @@ -Scriptname _oActro extends activemagiceffect - - - -; ██████╗ ███████╗ █████╗ █████╗ ██████╗████████╗██████╗ ██████╗ -;██╔═══██╗██╔════╝██╔══██╗ ██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔═══██╗ -;██║ ██║███████╗███████║ ███████║██║ ██║ ██████╔╝██║ ██║ -;██║ ██║╚════██║██╔══██║ ██╔══██║██║ ██║ ██╔══██╗██║ ██║ -;╚██████╔╝███████║██║ ██║ ██║ ██║╚██████╗ ██║ ██║ ██║╚██████╔╝ -; ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ -;█████╗█████╗█████╗█████╗█████╗█████╗█████╗█████╗█████╗█████╗█████╗█████╗ -;╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝╚════╝ -;OSA spell that serves as a stage for coordinating multiple actors in a scene. - -import _oGlobal -;OSA Global Functions - -actor Property PlayerRef Auto - -int glyph - -_oOmni Property OSO hidden - _oOmni function get() - return Quest.GetQuest("0SA") as _oOmni - endFunction -endProperty -;Add the _oOmni persistent script based in quest 0SA - - -actor[] Actra -string[] ActraIndex -string StageID -string Password -int totalActra - -objectReference posObj - -spell Property FXSP auto -magiceffect Property FXME auto - -bool align = false - -Event Oneffectstart (actor tarAct, actor Spot) -stageID = tarAct.GetFactionRank(OSO.OFaction[1]) -glyph = OSO.glyph -actra = new Actor[10] -actra[0] = tarAct -actraIndex = new String[10] -actraIndex[0] = 0 -posObj = OSO.GlobalPosition[StageID as int] -password = StageID - -registerEvents() - -actroReady(stageID) -endEvent - -function registerEvents() -RegisterForModEvent("0SA"+"_GameLoaded", "OnGameLoaded") -RegisterForModEvent("0SAO"+Password+"_OEnd", "OnOEnd") -RegisterForModEvent("0SAO"+Password+"_ActraSync", "OnActraSync") -RegisterForModEvent("0SAO"+Password+"_AlignTo", "OnAlignTo") -RegisterForModEvent("0SAO"+Password+"_AnimateStage", "OnAnimateStage") -RegisterForModEvent("0SAO"+Password+"_ActraReveal", "OnActraReveal") -RegisterForModEvent("0SAO"+Password+"_ActraJoin", "OnActraJoin") -RegisterForModEvent("0SAO"+Password+"_ActraRemove", "OnActraRemove") -RegisterForModEvent("0SAO"+Password+"_OSpell", "onOSpell") -RegisterForModEvent("0SAO"+Password+"_OCinemaAudio", "onOCinemaAudio") -RegisterForModEvent("0SAO"+Password+"_Rumble", "onRumble") -RegisterForModEvent("0SAO"+Password+"_Report", "onReport") -endFunction - - -event onAlignTo(string eventName, string actorLocHub, float alignStyle, Form sender) -int style = alignStyle as int - if style == 0 - align = true - posObj.moveTo(actra[actorLocHub as int]) - int count = 0 - while count < totalActra - ;delay To see if it fixes crash - utility.wait(0.1) - alignActraStage(actraIndex[count]) - count+=1 - endWhile - elseIf style == 2 - align = true - int count = 0 - while count < totalActra - alignActraStage(actraIndex[count]) - count+=1 - endWhile - endif -endEvent - - -event OnAnimateStage(string eventName, string zAnimation, float numArg, Form sender) -int count = 0 -while count < totalActra -Debug.SendAnimationEvent(Actra[count], zAnimation+"_"+count) -Debug.SendAnimationEvent(Actra[count], "sosfasterect") -count+=1 -endWhile -endEvent - - - -event OnActraSync(string eventName, string ComboString, float numArg, Form sender) - -String[] stringValues = StringUtil.split(ComboString, ",") -totalActra = stringValues[0] as int -Actor[] Temp = new Actor[10] -String[] TempIndex = new string[10] -int ix = 0 - - while ix < totalActra - int Index = ActraIndex.Find(StringValues[ix+1]) - Temp[ix] = Actra[index] - TempIndex[ix] = StringValues[ix+1] - ix+=1 - endWhile - -Actra = Temp -ActraIndex = TempIndex - -UI.InvokeString("HUD Menu", "_root.WidgetContainer."+glyph+".widget.com.skySyncComplete", StageID) -endEvent - - -event OnGameLoaded(string c, string a, float t, Form z) -Self.Dispel() -endEvent - -event OnEffectFinish(Actor akTarget, Actor akCaster) -if OSO.GlobalPosition[stageID as int] -OSO.GlobalPosition[stageID as int].Delete() -OSO.GlobalPosition[stageID as int] = none -endif -endEvent - -event OnOEnd(string eventName, string actorLocHub, float numArg, Form sender) -Self.Dispel() -endEvent - - -event onRumble(string eventName, string amdur, float range, Form sender) -int Finder = stringutil.find(amdur, ",", 0) -Actra[0].RampRumble(stringUtil.substring(amdur, 0, finder) as float, 1.0, range) -endEvent - -event OnOSpell(string eventName, string spellData, float IDK, Form sender) -String[] stringValues = StringUtil.split(spellData, ",") -objectreference CastPoint = Actra[stringValues[1] as int].placeAtMe(OSO.OBlankStatic) -castPoint.MoveToNode(actra[stringValues[1] as int], stringValues[2]) -objectreference TargetPoint = Actra[stringValues[1] as int].placeAtMe(OSO.OBlankStatic) -TargetPoint.MoveToNode(actra[stringValues[3] as int], stringValues[4]) -FXME.SetProjectile(OSO.OProjectile.GetAt(stringvalues[0] as int) as Projectile) -FXSP.cast(CastPoint, targetPoint) -CastPoint.Delete() -CastPoint = none -TargetPoint.Delete() -TargetPoint = none -endEvent - - -int actraRevealed = -1 -bool stageRunning = false - -event OnActraReveal(form zAct, string ActorID) -if !stageRunning -actraRevealed +=1 -actor zActra = zAct as Actor -Actra[actraRevealed] = zActra -ActraIndex[actraRevealed] = ActorID -endif -UI.InvokeString("HUD Menu", "_root.WidgetContainer."+glyph+".widget.com.skyActroReadyCheck", StageID) -endEvent - - - -event OnActraRemove(string eventName, string actraIX, float arg, Form actraInc) -int ix = actraIX as int -Actra[ix] = none -ActraIndex[ix] = none -UI.Invoke("HUD Menu", "_root.WidgetContainer."+glyph+".widget.beacon.cbActraRemoveAO") -endEvent - - -event OnActraJoin(string eventName, string actorID, float arg, Form actraInc) -stageRunning = true -actor newActra = actraInc as actor - oso.processActraAll(newActra, actorID) - newActra.SetFactionRank(oso.OFaction[0], 1) - newActra.SetFactionRank(oso.OFaction[1], stageID as int) - _oGlobal.packageSquelch(newActra, oso.OPackage) -int L = totalActra - actra[L] = newActra - actraIndex[L] = actorID - oso.OSpell[0].cast(newActra, newActra) -endEvent - - -event OnReport(string eventName, string a, float b, Form c) - -string[] report = new string[32] - -report[0] = "ReportArr" -report[1] = StageID -report[2] = glyph -report[3] = Password -report[9] = totalActra - -int i = 0 - -while i < 10 -report[i+10] = actra[i].getActorBase().GetName()+" | "+GetFormID_s(Actra[i].GetActorBase()) -report[i+20] = ActraIndex[i] -i+=1 -endWhile - -UI.InvokeStringA("HUD Menu", "_root.WidgetContainer."+glyph+".widget.beacon.cbStringA", report) -endEvent \ No newline at end of file diff --git a/Scripts/_oActro.pex b/Scripts/_oActro.pex deleted file mode 100644 index 48cef92c4f0046f8c3990e80cb28cac766c6be29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8116 zcmcIod3;<|z5kxcEXib}SSge~NGY^pp=M7SMM%?yO52G^*#sPKW^R%plY57mI|)Ia zA|Q$jQd&gnj-ZG;D4PqERaxE>5aCfC58nO+%j2O41)hF?=iYl}QU?6X{5~`1_xqjS zIp?>ZGueCc?N8N3puoRVS7hFa#>RFzRh7GRg`e<{?vB$^lj92okqKB5EJ&`MUc5&T|?RX_Lq@2NgZo=8> zqJ^lFo9241oUqYIn#WtCb4~_LDQAN>{Vr zGgc8XZsf`!mLs~xb@NCL46Hw8bl9IS`I=L#X!&~6=q7q_!X7C*PR^M?(sMm4uPsAT z4;!7VeKrH+6*+&}8K@t&N~Kx1m_^*@`Dbiir_X4t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