legal, então, é o seguinte, tem como alguém comentar as configurações necessárias para que todos os tipos de projéteis sigam o alvo sem ser pela camera?, não entendi nada na descrição, alguém se importaria em ajudar a mim e a outros como eu?
this one need a better instruction looking for unique mods and only veteran and creator can understand what they instruction and guide for there mod not so friendly so far
Hello! Since I am not a native speaker, I don't quite follow you descriptions of this mod. As you said, the projectiles could be guided and homing. Guided means I need to ensure the crosshair on the target all the tilme. Homing means I can fire and forget. Am I right?
Int Property MaxCount Auto Projectile Property ProjectileBase Auto Spell Property SpellToFire Auto Spell Property SpellToFire2 Auto Spell Property spchk Auto ObjectReference[] Property Sources Auto Actor Target Event OnEffectStart(Actor akTarget,Actor akCaster) Target=akTarget EndEvent
Event OnSpellCast(Form akSpell) if spchk==akSpell as Spell Spell sp if IsDualCasting(Target) sp=SpellToFire2 else sp=SpellToFire endif ObjectReference proj=Game.FindClosestReferenceOfTypeFromRef(ProjectileBase,Target,4096.0) ObjectReference Source=Sources[Utility.RandomInt(0,Sources.Length - 1)] if proj int i=0 float lastx=proj.GetPositionX() while i<MaxCount Source.MoveTo(proj,0.0,0.0,0.0,false) float newx=proj.GetPositionX() if lastx==newx || !proj.Is3DLoaded() i=MaxCount else sp.RemoteCast(Source,Target,proj) Source.MoveTo(proj,0.0,0.0,0.0,false) lastx=newx i+=1 sp.RemoteCast(Source,Target,proj) endif endwhile endif endif EndEvent
and uhm i also triedd to put 1 in the ini file but it doesnt work with arrows and magic bolts
75 comments
Scriptname SpellChainEffectScript extends ActiveMagicEffect
Int Property MaxCount Auto
Projectile Property ProjectileBase Auto
Spell Property SpellToFire Auto
Spell Property SpellToFire2 Auto
Spell Property spchk Auto
ObjectReference[] Property Sources Auto
Actor Target
Event OnEffectStart(Actor akTarget,Actor akCaster)
Target=akTarget
EndEvent
Event OnSpellCast(Form akSpell)
if spchk==akSpell as Spell
Spell sp
if IsDualCasting(Target)
sp=SpellToFire2
else
sp=SpellToFire
endif
ObjectReference proj=Game.FindClosestReferenceOfTypeFromRef(ProjectileBase,Target,4096.0)
ObjectReference Source=Sources[Utility.RandomInt(0,Sources.Length - 1)]
if proj
int i=0
float lastx=proj.GetPositionX()
while i<MaxCount
Source.MoveTo(proj,0.0,0.0,0.0,false)
float newx=proj.GetPositionX()
if lastx==newx || !proj.Is3DLoaded()
i=MaxCount
else
sp.RemoteCast(Source,Target,proj)
Source.MoveTo(proj,0.0,0.0,0.0,false)
lastx=newx
i+=1
sp.RemoteCast(Source,Target,proj)
endif
endwhile
endif
endif
EndEvent
and uhm i also triedd to put 1 in the ini file but it doesnt work with arrows and magic bolts