Jump to content

Help with script to control an npc?


modschmod

Recommended Posts

Posted

Hey, was having some trouble getting this to work. Was hoping to get some help here.

 

What I wanna do:

1. Player presses a button

2. Control switches to a new npc (that you can move around like you'd normally move your character)

 

What I tried:

 

Scriptname SGENSwitchPlayerControlScript extends Actor  

 
Actor Property ControlTarget  Auto  
 
Event OnActivate(ObjectReference akActionRef)
 
ControlTarget,SetPlayerControls(true)
 
endevent
 
What happened:
Nothing :(
 
Anyone here who has done something like this? Any help getting it work would be appreciated!
 
 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...