Scorge Posted September 6, 2013 Share Posted September 6, 2013 Hey, Whats the script for obtaining a new lightsaber form? Thanks. Link to comment Share on other sites More sharing options...
darthtyren Posted September 6, 2013 Share Posted September 6, 2013 That would be "a_give_form.nss". Link to comment Share on other sites More sharing options...
Scorge Posted September 7, 2013 Author Share Posted September 7, 2013 Any way to make the script simple? Because it appears to be very complex with restricted forms to a certain class. I want to simplify the script so any class can choose any of the forms they desire in a dialogue. Thanks, Link to comment Share on other sites More sharing options...
Phildevil Posted September 7, 2013 Share Posted September 7, 2013 Did you try looking at the JEdi Temple mod by death disco? I believe there is such a script inside. One that applies the class nonobstant... Link to comment Share on other sites More sharing options...
Scorge Posted September 7, 2013 Author Share Posted September 7, 2013 Well death disco hasn't been on in a while, so I doubt I'll get permission to use the script. But I'm asking about how to make a new form script from scratch. Link to comment Share on other sites More sharing options...
zbyl2 Posted September 7, 2013 Share Posted September 7, 2013 Script I wrote for TSLRCM to grant lightsaber forms to party members. void main() { object oAtton = GetObjectByTag("atton", 0); int nParam1 = GetScriptParameter(1); GrantSpell(nParam1, oAtton); } GrantSpell() is the key here. Replace nParam1 with number corresponding a lightsaber form (look them up in spells.2da) and oAtton with whatever object you need (GetFirstPC() or whatever). Link to comment Share on other sites More sharing options...
Fair Strides 2 Posted September 7, 2013 Share Posted September 7, 2013 Script I wrote for TSLRCM to grant lightsaber forms to party members. void main() { object oAtton = GetObjectByTag("atton", 0); int nParam1 = GetScriptParameter(1); GrantSpell(nParam1, oAtton); } GrantSpell() is the key here. Replace nParam1 with number corresponding a lightsaber form (look them up in spells.2da) and oAtton with whatever object you need (GetFirstPC() or whatever). Hmm. I didn't know you were a scripter, Zybl2... Also, Scourge, the reason Zybl2 says that GrantSpell is the key is because that function grants a spell regardless of the prerequisites for that spell. Link to comment Share on other sites More sharing options...
deathdisco Posted September 8, 2013 Share Posted September 8, 2013 Well death disco hasn't been on in a while, so I doubt I'll get permission to use the script. But I'm asking about how to make a new form script from scratch. That's because I hide in the shadows I have no recollection of how I did it in the Temple mod. I might have used the standard game scripts and set up parameters in the dialog file to grant each form. In case I did use custom scripts, they would be in the nss folder included in the mod. Feel free to use them. Link to comment Share on other sites More sharing options...
Scorge Posted September 8, 2013 Author Share Posted September 8, 2013 Thanks Deathdisco Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.