thirteenoranges1 Posted February 10, 2012 Share Posted February 10, 2012 Basically, I'm working on a mod that involves teleporting the player to a specific location, while not in a quest. I looked for similar functions already in the game, and found what seemed like a simple GetPlayer() MoveTo (object) in the Azura deadric quest. However, the "object" there is part of the quests Alias stuff (which I still don't quite understand) and I cannot find a way to reference a specific ObjectReference in another cell as a target for the MoveTo function. Does anyone have any experience with this? Is there a way to target specific ObjectReferences or is there some sort of workaround I haven't thought of? Any help would be greatly appreciated, Thanks. Link to comment Share on other sites More sharing options...
porroone Posted February 10, 2012 Share Posted February 10, 2012 Have you tried declaring the object as a property, then going to properties and looking for the object itself ? Im missing more information here, so if I understand this correctly you want the object as a target for the player to move to or rather an object that when the players activates, it moves the player to a different cell? Link to comment Share on other sites More sharing options...
thirteenoranges1 Posted February 10, 2012 Author Share Posted February 10, 2012 Basically it's a Magic Effect using a simple script to teleport the player to specific object references. How do you define an object ref as a property? From my understanding (which is admittedly limited) a property is usually an int, gloat etc, pretty.much like a variable? Link to comment Share on other sites More sharing options...
porroone Posted February 10, 2012 Share Posted February 10, 2012 Not really, for example you go in the script and define ObjectReference property MyObject auto, then you close the script, go to the window where in the right side you see Add/Properties/Remove, select your script, go to properties, and there you should see "MyObject" which is the one we created on the script, select it, click on edit value, then you'll see 2 options that are pretty obvius, one is the the cell (where the object is) and the other the Reference, the name of the object you want to move to. It kind of helps having the same name as the object when you declaring, you can click on autofill and it finds you the reference directly without having you to look for it. Link to comment Share on other sites More sharing options...
thirteenoranges1 Posted February 10, 2012 Author Share Posted February 10, 2012 That's great, thanks. I couldn't find any info like this on the creation kit wiki, it's exactly what I needed. Link to comment Share on other sites More sharing options...
Recommended Posts