player ref

Post » Thu Oct 13, 2016 4:58 pm

I copied and pasted some objects and whenever I activate it it teleports me back to where the original one is could someone please explain to me how to change these PlayerRef.

User avatar
Annika Marziniak
 
Posts: 3416
Joined: Wed Apr 18, 2007 6:22 am

Post » Thu Oct 13, 2016 8:20 pm

What objects did you copy and paste, and what were you trying to make happen?



If you copied an existing item, the 'new' version is going to have the same parameters as the original version did. These are set on the Base Form. Assuming these are activators (such as a button), you'll need to go to World Objects>Activator, and then find the original Base Item.



From there, double-click on it, and a new window will open.



Where it says 'ID', type something new. Best use something you'll remember--I recommend your initials (and personally I always put a Z, so it comes up at the bottom of the list, easier for sorting) or your Mod Name--just something to make it unique.



Click 'OK', and a message box like the following will come up :





Click 'Yes'.



This makes a totally new Base Form, and by default it will be exactly the same as the original.



Double-click the new Form you just made, and look for where it says 'Scripts' and 'Papyrus Scripts'. Click the Script you want so that it is highlighted, and then click 'Properties'--this is where you set the parameters the Script uses.



Without knowing exactly what you want to do, it's a little hard to tell you precisely what to change :/





'PlayerRef', usually means the Player.

User avatar
Paula Ramos
 
Posts: 3384
Joined: Sun Jul 16, 2006 5:43 am

Post » Thu Oct 13, 2016 2:59 pm

It's from estrus plant I did what you said but I need to add XMarkerHeading and PlayerRef as properties is that the same as adding them as scripts cause I can't find them under scripts? Also is playerref the ID which you can use to summon yourself in game?

User avatar
Shianne Donato
 
Posts: 3422
Joined: Sat Aug 11, 2007 5:55 am


Return to V - Skyrim