Jump to content

making a door out of a magical effect? Help?


1800pizza

Recommended Posts

i am currently trying to make a mod where u get teleported by a magic light thing. i managed to unpack the nif for the magic effect i and use it in place of a doors. in creation kit it seems to work, it looks like a light and is connected to teleport me from place to place but in game there is nothing to activate. im assuming cuz the magic effect has no collison data.

 

i was wondering if anyone had any ideas how to make this work, im thinking it can be done with an area effect script where i get close to the magic it teleports me but i dont know anything about the papyrus scripting. if there is an easier way im open to suggestions.

 

thanks

Link to comment
Share on other sites

You can spawn a scripted activator from your magic effect with PlaceAtMe().

Make it so you can see while you're testing, and later turn it into an invisible ball object.

 

In the activator script you'd have an OnActivate event something like...

ScriptName MyTPScript extends ObjectReference

ObjectReference Property SomeMarker Auto

Event OnActivate(ObjectReference akActionRef)
 If (Game.GetPlayer() == akActionRef)
   akActionRef.MoveTo(SomeMarker)
   Delete()
 EndIf
EndEvent

Link to comment
Share on other sites

  • Recently Browsing   0 members

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