Jump to content

Home

Script for activating lightsaber


Lord2

Recommended Posts

This one will turn the saber on, should work for both Kotor or TSL:

 

void main(){

object oNPC = GetObjectByTag("VisasMarr");

DelayCommand(1.0, SetLightsaberPowered(oNPC, 1, 1, 1));

 

}

 

just change "VisasMarr" for the tag of whoever wields the saber.

 

and this one turns it off, almost same script:

 

void main(){

object oNPC = GetObjectByTag("VisasMarr");

DelayCommand(1.0, SetLightsaberPowered(oNPC, 1, 0, 1));

 

}

 

hope that helps, good modding ... :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...