harIII Posted June 15, 2009 Share Posted June 15, 2009 I'm trying to make a new force power similar to the Beast Control of K2 in K1. I want to be able to use the power and then game play switches to the target. You now control the target whether its a creature or a person. You'll be able to walk around and use that creature to attack other creatures. I have everything working except for the script: void main() { ChangeToStandardFaction(GetSpellTargetObject(), 1); } I know that the new faction isn't correct, its set on hostile; I was experimenting seeing if it makes the creature turn against you but it didn't do anything. Is this script even correct? Link to comment Share on other sites More sharing options...
Star Admiral Posted June 15, 2009 Share Posted June 15, 2009 Unless I'm missing something, that line looks fine to me. Is the creature aware of your presence when it turns hostile? If not, you may need to give it a kick to start fighting with the following line of code: ExecuteScript( "k_ai_master", GetSpellTargetObject(), 1005 ); - Star Admiral Link to comment Share on other sites More sharing options...
harIII Posted June 16, 2009 Author Share Posted June 16, 2009 Right now I'm just experimenting with it making it hostile, but eventually I want to be able to manipulate the creature similar how the PC could play as the Droid on Telos of K2 but for K1. Is there a script that I could tell it to initiate that? Also I'll try this for now and see what happens. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.