Scripts on a player

Post » Tue Jun 19, 2012 2:42 pm

After trying out several things in the editor, as well as reading the wiki and these forums for a bit and I couldn't find this out.

How can I attach a script to the player actor? I understand how to get the player actor reference.

Thank you!
User avatar
Sammi Jones
 
Posts: 3407
Joined: Thu Nov 23, 2006 7:59 am

Post » Tue Jun 19, 2012 8:12 am

What are you want to do with the player?
User avatar
Philip Rua
 
Posts: 3348
Joined: Sun May 06, 2007 11:53 am

Post » Tue Jun 19, 2012 2:17 pm

I want to modify the player's behavior in combat. I saw it mentioned in another thread that someone had put a script on the player actor - I'm curious as to how.
User avatar
KU Fint
 
Posts: 3402
Joined: Mon Dec 04, 2006 4:00 pm

Post » Tue Jun 19, 2012 8:31 pm

This can do through a quest. How i know that in the Oblivion this doesn't work
User avatar
Jordyn Youngman
 
Posts: 3396
Joined: Thu Mar 01, 2007 7:54 am

Post » Tue Jun 19, 2012 11:53 am

you can use a quest to attach the script

Or use an item with script like ring and force player to equip it
User avatar
jenny goodwin
 
Posts: 3461
Joined: Wed Sep 13, 2006 4:57 am

Post » Tue Jun 19, 2012 2:07 pm

Ahh I see how I can do it. Having the player as a reference alias allows me to attach scripts to that actor...ahhhhh.

Thanks guys!
User avatar
Heather Dawson
 
Posts: 3348
Joined: Sun Oct 15, 2006 4:14 pm


Return to V - Skyrim