tonycubed2 Posted September 10, 2012 Share Posted September 10, 2012 Greetings. I have 6 markers htat th eplayer can set in 6 different cells to mark them as safe. I provide an in game menu for the player to set them. Is there a way to output to the screen the location in Skyrim where the markers are, in order to remind the players where he put the markers? I tried the following sscript with and without the "as string" bit and while it compiles fine it will not show the location of the markers. Prefer a cell name. If aibutton == 7 abmenu = False elseif aibutton == 6 aimessage = 1 elseif aibutton == 0 SafePlace.moveto(playerref) Debug.Notification("Location 1 Set to: "+SafePlace.GetParentCell() as String) elseif aibutton == 1 SafePlace2.moveto(playerref) Debug.Notification("Location 2 Set to: "+SafePlace2.GetParentCell() as String) elseif aibutton == 2 SafePlace3.moveto(playerref) Debug.Notification("Location 3 Set to: "+SafePlace3.GetParentCell() as String) elseif aibutton == 3 SafePlace4.moveto(playerref) Debug.Notification("Location 4 Set to: "+SafePlace4.GetParentCell() as String) elseif aibutton == 4 SafePlace5.moveto(playerref) Debug.Notification("Location 5 Set to: "+SafePlace5.GetParentCell() as String) elseif aibutton == 5 SafePlace6.moveto(playerref) Debug.Notification("Location 6 Set to: "+SafePlace6.GetParentCell() as String) EndIf EndIf Link to comment Share on other sites More sharing options...
Cipscis Posted September 10, 2012 Share Posted September 10, 2012 SKSE's GetName function could help you here. Cipscis Link to comment Share on other sites More sharing options...
tonycubed2 Posted September 10, 2012 Author Share Posted September 10, 2012 Hmmm... The descrption reads: Notes This function does not work on actors or object references, use the actor base or base object instead. My markers are object references. I checked out the base object command but it does not deal with location in a cell... :-/ Link to comment Share on other sites More sharing options...
Cipscis Posted September 10, 2012 Share Posted September 10, 2012 You should be able to call it on the result of GetParentCell, although I'll admit I'm not sure how useful the name of a cell will always be. Are cells out in the wilderness called "Wilderness"? Cipscis Link to comment Share on other sites More sharing options...
Recommended Posts