Jump to content

Making a Teleport Item


Myst42

Recommended Posts

Posted

Hello... I ask here in case anyone remembers

I need a simple thing, an item that on "equip" (not a equipable item though) teleports the player in an out of an interior cell

 

I scavenged some mods, there are a few that do similar things and i managed to put up a system of marker rats and a script with a global value, to have a spell that can teleport the player (hopefully).

Here it is:

 

 


Begin ScriptEffectStart
    if (AATeleportCube == 0)    
        CubeMarkerRatB.MoveTo player
    endif
End

Begin ScriptEffectFinish
    playSound DRSOblivionGateOpen
    if (AATeleportCube == 0)    
        set AATeleportCube to 1        
        player.MoveTo CubeMarkerRatA
        
    else
        set AATeleportCube to 0        
        player.MoveTo CubeMarkerRatB
    endif
End

 

 

 

 

But I have no way of connecting that spell to the item. I take it I need another script. And I totally suck at scripting. (The above is scavenged, not my own because I can't script actually)

Would anybody be so kind as to point me in the right direction to finish this thing?

 

EDIT: Wrong section I guess... Belongs in Oblivion but i can't move it myself

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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