R2-X2 Posted April 30, 2009 Share Posted April 30, 2009 And again questions: I've got some problems with scripting, I've got only some rare lines in a dialog (for example 3 lines) and need to fire 6,7 scripts in the dialog, so question No 1: How to combine two scripts? My second question is: How to make an "changefaction"-script with using the creature's tag? And the last thing is: How to make a creature walk to a location using X,Y,Z and orientation, so the way the creature looks is defined? Well, scripting isn't my thing! Link to comment Share on other sites More sharing options...
Stream Posted April 30, 2009 Share Posted April 30, 2009 Combine scripts - http://www.lucasforums.com/showthread.php?t=137370 Make NPC Move to Another Location - http://www.lucasforums.com/showthread.php?t=139381 - Just delete this line from that script AssignCommand (oNPC,ActionDoCommand(DestroyObject(oNPC))); To make an NPC change factions use this; void main() { object oNPC = GetObjectByTag("NPC_TAG", 0); ChangeToStandardFaction(oNPC, 3); } Link to comment Share on other sites More sharing options...
R2-X2 Posted May 2, 2009 Author Share Posted May 2, 2009 Thank you! I was wondering there were so many scripts but no one to move NPCs. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.