eleglas Posted April 10, 2009 Share Posted April 10, 2009 I have made 3 weapons which have different modes, one is a sniper, one is a laser and another is an auto blaster, I have also made an item that will display a message with 3 buttons allowing you to chose which mode, and that will unequip your current weapon and give you the one you chose. However when ever I try to use this item, the message pops up, but it doesn't replace my weapon when I tell it to, can someone give me a hand, heres my code: SCN MACOScript Short Button Begin ScriptEffectStart ShowMessage MECORifle END Begin ScriptEffectUpdate Set Button to GetButtonPressed If Button == 0 Player.Additem WeapMACORifleSniper 1 1 Player.EquipItem WeapMACORifleSniper Player.RemoveItem WeapMACORifle 1 1 Player.RemoveItem WeapMACORiflePhaser 1 1 ElseIf Button == 1 Player.Additem WeapMACORifle 1 1 Player.EquipItem WeapMACORifle Player.RemoveItem WeapMACORifleSniper 1 1 Player.RemoveItem WeapMACORiflePhaser 1 1 ElseIf Button == 2 Player.Additem WeapMACORiflePhaser 1 1 Player.EquipItem WeapMACORiflePhaser Player.RemoveItem WeapMACORifleSniper 1 1 Player.RemoveItem WeapMACORifle 1 1 Else Endif END Begin ScriptEffectFinish Player.additem MACOChem 1 1 END Thanks guys! Link to comment Share on other sites More sharing options...
eleglas Posted April 11, 2009 Author Share Posted April 11, 2009 Come on guys! I really need your help with this, I cannot get it to work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.