Deleted518329User Posted August 15, 2009 Share Posted August 15, 2009 Im working on a mark and recall teleport script, im trying to place a marker at the player location and use another script to teleport the player when they equipt a second item. However when I try and save the script I get the messege ;invalid reference 'teleportmarker1REF' (only object refenrences and reference variables are allowed in this context) I have tried almost ever type of item, so what object refences can I actually use? Heres the script: ScriptName 1teleport Begin OnEquipif GetContainer == playerPlayer.Equipitem 4powerteleportteleportmarker1REF.Disableteleportmarker1REF.MoveTo Player 512 0 0 teleportmarker1REF.Enable endifEnd Please Help Link to comment Share on other sites More sharing options...
gsmanners Posted August 15, 2009 Share Posted August 15, 2009 If you create an XMarker or XMarkerHeading in the GECK, you will have the opportunity at that point to give the marker a unique name. That name you can refer to in a script. I don't think it's really necessary to disable and enable. Link to comment Share on other sites More sharing options...
Recommended Posts