Jump to content

Spell to summon multipe objects to the player


Deleted28154640User

Recommended Posts

Im having a hard time making a script and would really appreciete some help

 

Scriptname ZZZ_summonportalscript extends activemagiceffect

ObjectReference Property ZZZPORTALStone Auto
ObjectReference Property ZZZGargoyale01 Auto
ObjectReference Property ZZZGargoyale02 Auto
ObjectReference Property ZZZGargoyale03 Auto
ObjectReference Property ZZZGargoyale04 Auto
ObjectReference Property ZZZPlatform Auto
ObjectReference Property ZZZFloatup Auto
ObjectReference Property ZZZ_Floatdown Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
ZZZPORTALStone.MoveTo(akCaster,0.0,128.0000,2048.0000)
ZZZPlatform.MoveTo(akCaster,0.0,128.0000,2048.0000)
ZZZGargoyale01.MoveTo(akCaster,-128.0000,0.0,2048.0000)
ZZZGargoyale02.MoveTo(akCaster,-128.0000,256.0000,2048.0000)
ZZZGargoyale03.MoveTo(akCaster,128.0000,256.0000,2048.0000)
ZZZGargoyale04.MoveTo(akCaster,128.0000,0.0,2048.0000)
ZZZFloatup.MoveTo(akCaster,0.0,0,2048.0000)
ZZZ_Floatdown.MoveTo(akCaster, 0.0,-128.0000,0.0)
ZZZPORTALStone.SetAngle(0.0, 0.0,0.0)
ZZZPlatform.SetAngle(0.0, 0.0,0.0)
ZZZGargoyale01.SetAngle(0.0, 0.0,-135.0000)
ZZZGargoyale02.SetAngle(0.0, 0.0,-45.0000)
ZZZGargoyale03.SetAngle(0.0, 0.0,45.0000)
ZZZGargoyale04.SetAngle(0.0, 0.0,135.0000)
ZZZFloatup.SetAngle(0.0, 0.0,0.0)
ZZZ_Floatdown.SetAngle(0.0, 0.0,-180.0000)
endevent

 

Here is my script what Im trying to do is teleport multiple objects to the players location if there is enough space, what I cant figure out is how to do the havoc detection or make the objects appear, when I use the spell only the portal stone refererence appears.

 

Please help as Im trying to make a movable house mod to release on the nexus so far Ive managed to work out the arena, spell research, and a few other goodies

 

When the mod is released any help will be credited

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...