Jump to content

Issues when controlling saber droid NPC


Recommended Posts

I have a little script I'm working on where the player will activate a trigger that will run a script which should, in theory, let them take control of one of the saber_droid NPCs. It works kind of, the problem is you can't get out of it (prompt says "Press 'Jump' to exit" but jumping doesn't exit) and even though the droid is equipped with a lightsaber, I can't activate it or attack with it. My script is very simple:

affect ( "player", /*@AFFECT_TYPE*/ FLUSH )
{
	set ( /*@SET_TYPES*/ "SET_VIEWENTITY", "droid1" );
}

Anyone got any ideas on how to make this work?

EDIT: Out of curiosity I also tried just setting playermodel saber_droid with a script, and I can ignite the saber but I can't attack.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...