DarthStevenus Posted November 1, 2020 Posted November 1, 2020 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.
NAB622 Posted November 1, 2020 Posted November 1, 2020 Is this single player or multiplayer? I don't think controlling an entity works in multiplayer...
mrwonko Posted November 2, 2020 Posted November 2, 2020 Originally this was only used for mouse droids, right? Those can't attack, so chances are that attacking simply isn't supported, but you'd have to check the source code to know for sure.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now