Hey guys I am working on an Activator Book that needs to teleport a new cell called TeleportArea which has a COC marker and MapMarker. It doesn't compile correctly, also it doesn't teleport me any where because it say the TeleportArea is undefined, it also doesn't work for Riften either. So I am guessing I am making an error somewhere.
Here is my script:
Scriptname Class01Script extends ObjectReference
Message Property Question Auto
Message Property yes Auto
Message Property No Auto
MiscObject Property Gold001 Auto
int Button
EVENT onActivate(objectReference akActionRef)
If akActionRef == Game.GetPlayer()
Button = question.show()
if Button == 0
yes.show()
Game.FastTravel(TeleportArea)
elseif Button == 1
No.show()
endif
EndIf
endEVENT