Jump to content

Script Request


Latin_Heat

Recommended Posts

this is the script I'm working on. I don't understand where the problem is. :(

 

scn 1Transformation

 

Begin ScriptEffectStart

if (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

endif

endif

end

 

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

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 ScriptEffectStart

if (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

endif

endif

end

 

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

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...