Miles Edgeworth Posted July 22, 2007 Share Posted July 22, 2007 First, I need the script for someone stabbing themself in the chest with a melee weapon. Second, is a script to remove the pc (and other party members) from the party, and making a party member the leader (such as Mandalore). Link to comment Share on other sites More sharing options...
Tupac Amaru Posted July 22, 2007 Share Posted July 22, 2007 First, I need the script for someone stabbing themself in the chest with a melee weapon. This can be done with dialog animation number 1030, but it only works with Visas and she must be wearing generic clothes. Second, is a script to remove the pc (and other party members) from the party, and making a party member the leader (such as Mandalore). This script will make Mandalore the player character.void SwitchToNPC( int nNPC ); void main() { DelayCommand(1.0, SwitchToNPC(NPC_CANDEROUS)); } void SwitchToNPC( int nNPC ) { SwitchPlayerCharacter( nNPC ); } For other characters, replace NPC_CANDEROUS with the corresponding NPC's constant. They can be found in nwscript.nss. To switch back to the main PC, use NPC_PLAYER as parameter. Link to comment Share on other sites More sharing options...
Miles Edgeworth Posted July 23, 2007 Author Share Posted July 23, 2007 Thanks, Tupac Amaru. But, wait are you sure that it's animation 1030? Because, that's labeled as listen. Link to comment Share on other sites More sharing options...
Tupac Amaru Posted July 23, 2007 Share Posted July 23, 2007 Listen is animation 10030. Visas' sacrifice is 1030.The labels in DLGEditor aren't correct in a few cases. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.