SatanSoldier Posted November 1, 2010 Share Posted November 1, 2010 I'm having a hard time finding any documentation on the scripting language, so I'm flying blind.The geck not reporting errors is Not helping, if you know how to fix that, PLEASE let me know. Anyway, I'm trying to make it so that Veronica wears her formal wear in the lucky 38. I got a preliminary version running, but it was limited, and I wrote this one so that I could expand on it.It's not compiling and I'm not seeing the error, so if someone with experience could help me out and/or give some tips, I'd be grateful. short bAddedHat short bInFormalWear BEGIN GameMode if (VeronicaREF.GetInCell Lucky38SuiteFloor22) if (VeronicaREF.GetEquipped OutfitVeronicaRobes != 1) if ((VeronicaREF.GetEquipped OutfitFormalWear != 1)&&(VeronicaREF.GetEquipped ArmorWhiteGloveSociety != 1)) if (VeronicaREF.GetItemCount OutfitFormalWear > 0) VeronicaREF.EquipItem OutfitFormalWear set bInFormalWear to 1 elseif (VeronicaREF.GetItemCount ArmorWhiteGloveSociety > 0) VeronicaREF.EquipItem ArmorWhiteGloveSociety endif endif else VeronicaREF.EquipItem OutfitVeronicaRobes endif if (VeronicaREF.GetEquipped Weap10mmPistolVeronica != 1) VeronicaREF.EquipItem Weap10mmPistolVeronica endif if ((VeronicaREF.GetItemCount GamblerMHat02 > 0)&&(bInFormalWear == 1)) VeronicaREF.EquipItem GamblerMHat02 elseif ((VeronicaREF.GetItemCount GamblerMHat02 == 0)&&(bInFormalWear == 1)) VeronicaREF.AddItem GamblerMHat02 1 set bAddedHat to 1 VeronicaREF.EquipItem GamblerMHat02 elseif ((VeronicaREF.GetEquipped OutfitVeronicaHood == 0)&&(bInFormalWear == 0) VeronicaREF.EquipItem OutfitVeronicaHood endif else if ((bAddedHat)&&(VeronicaREF.GetItemCount GamblerMHat02 > 0) VeronicaREF.RemoveItem GamblerMHat02 1 endif if (bInFormalWear) set bInFormalWear to 0 VeronicaREF.evp endif endif END Link to comment Share on other sites More sharing options...
gsmanners Posted November 1, 2010 Share Posted November 1, 2010 You need to be a bit more careful with those conditional parentheses. The number of open and closed really need to match in each conditional. Link to comment Share on other sites More sharing options...
SatanSoldier Posted November 2, 2010 Author Share Posted November 2, 2010 Huh, figures it'd be something simple. I'm too used to working with IDE's I guess.Thanks for that catch, works properly now. Link to comment Share on other sites More sharing options...
documn Posted November 2, 2010 Share Posted November 2, 2010 Fix for getting the GECK to report script errors is on this thread:http://forums.bethsoft.com/index.php?/topic/1123864-no-debug-info/page__st__20 Link to comment Share on other sites More sharing options...
Recommended Posts