Jump to content

poblem with move to me scipt


Recommended Posts

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 OnEquip

if GetContainer == player

Player.Equipitem 4powerteleport

teleportmarker1REF.Disable

teleportmarker1REF.MoveTo Player 512 0 0

teleportmarker1REF.Enable

 

 

 

 

endif

End

 

 

 

 

Please Help

Link to comment
Share on other sites

  • Recently Browsing   0 members

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