scriptname v18combatsimulationshort buttonshort capturebegin OnactivateShowmessage v18combatsimmenu; Shows the combat sim menuset capture to 1endBegin Gamemodeif capture == 1set button to getbuttonpressed if button > -1set capture to 0if button == 0 v18comsimroom01.lock 100 v18combatsimoppmarker.placeatme Raider2GunAM 1 3 player.equipitem ArmorPowerArmy 1 player.equipitem ArmorPowerHelmet 1 showmessage v18comsimstartedelseif button == 1 v18comsimroom01.lock 100 v18combatsimoppmarker.placeatme CrSuperMutant2GunC 1 3 player.equipitem ArmorPowerArmy 1 player.equipitem ArmorPowerHelmet 1 Showmessage v18comsimstartedelseif button == 2if player.isincombat == 0 v18comsimroom01.unlockelseif player.isincombat == 1showmessage v18comsimerrorendifendifendifendifendifendifend
Now i want to add an IF statement.
if ( SetPCcanUsePowerArmor == 0 )SetPCcanUsePowerArmor 1Player.Additem [poweramor body]player.EquipItem [power armor pody]endifelseif ( SetPCcanUsePowerArmor == 1 )Player.Additem [poweramor body]player.EquipItem [power armor pody]endif
But of coarse that doesn't work.
If You Could Get Back to Me ASAP
Thanka Persidon