Latin_Heat Posted June 21, 2008 Share Posted June 21, 2008 I need a script for a spell that turns a weapon (while equipped) into another weapon. I've tried with the wristblade script from Hashshashin Armor but it doesn't work. Please, somebody help me!!! :unsure: (...and forgive my bad english) Link to comment Share on other sites More sharing options...
Latin_Heat Posted June 21, 2008 Author Share Posted June 21, 2008 Up Link to comment Share on other sites More sharing options...
GBHis Posted June 21, 2008 Share Posted June 21, 2008 check out http://cs.elderscrolls.com/constwiki/index.php/SetModelPath and http://cs.elderscrolls.com/constwiki/index.php/CopyModelPath and use a dummy ref to store the original model. Link to comment Share on other sites More sharing options...
Latin_Heat Posted June 21, 2008 Author Share Posted June 21, 2008 this is the script I'm working on. I don't understand where the problem is. :( scn 1Transformation Begin ScriptEffectStartif (GetContainer == player) if(player.GetEquipped JNKatanaform1) if((player.GetWeaponAnimType == 1) && (player.IsWeaponOut)) player.AddItem JNKatanaForm2 1 player.EquipItem JNKatanaForm2 player.RemoveItem JNKatanaform1 1 endif endif if(player.GetEquipped JNKatanaForm2) if((player.GetWeaponAnimType !=1) || (player.IsWeaponOut == 0)) player.AddItem JNKatanaform1 1 player.EquipItem JNKatanaform1 player.RemoveItem JNKatanaForm2 1 endif endifendifend Do not bump, it is considered rude. You may get a faster/better response by posting in the ESF in the CS area, http://www.bethsoft.com/bgsforums/index.php?showforum=24 Link to comment Share on other sites More sharing options...
Latin_Heat Posted June 23, 2008 Author Share Posted June 23, 2008 sorry :( Link to comment Share on other sites More sharing options...
GBHis Posted June 25, 2008 Share Posted June 25, 2008 GetContainer == player can never be "true" when running in a ScriptEffectStart block. ScriptEffectStart blocks are for scripted spells (which only exist in the gameworld).Don't get the point of your script, but the above mentioned thing is the only thing that jumps into my eyes as outright wrong :) this is the script I'm working on. I don't understand where the problem is. :( scn 1Transformation Begin ScriptEffectStartif (GetContainer == player) if(player.GetEquipped JNKatanaform1) if((player.GetWeaponAnimType == 1) && (player.IsWeaponOut)) player.AddItem JNKatanaForm2 1 player.EquipItem JNKatanaForm2 player.RemoveItem JNKatanaform1 1 endif endif if(player.GetEquipped JNKatanaForm2) if((player.GetWeaponAnimType !=1) || (player.IsWeaponOut == 0)) player.AddItem JNKatanaform1 1 player.EquipItem JNKatanaform1 player.RemoveItem JNKatanaForm2 1 endif endifendifend Do not bump, it is considered rude. You may get a faster/better response by posting in the ESF in the CS area, http://www.bethsoft.com/bgsforums/index.php?showforum=24 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.