Jump to content

Anyone else have this script issue?


Recommended Posts

If you have 2 seperate mods that have an activator that uses the same script and message files will one of them not work?

 

example, you have 2 mods that make a bunker

the both have for instance a money exchanger

both use the same script name "zMoneyExchange"

 

will one partially work and the other fully work??

Link to comment
Share on other sites

update: its not a script conflict, I renamed the script, and even disabled the original mod, no luck

 

here is my script, it works in another mod , just not in this 2nd one, its for an activator to tell you all your hidden stats, karma, physical condition, reputation with all the factions

 

scn xStatsServer

; selection variables
short checkChoice
short choiceID

; temp variables
short num1
short num2
short num3
short num4
short num5
short num6
short num7
short num8

begin OnActivate Player
set checkChoice to 1
ShowMessage xstatsmessage
end

begin GameMode
if ( checkChoice )
set choiceID to GetButtonPressed ;
if ( choiceID > -1 ) ;
if ( choiceID == 0 )
set num1 to ( Player.GetActorValue CritChance )
set num2 to ( Player.GetActorValue FireResist )
set num3 to ( Player.GetActorValue PoisonResist )
set num4 to ( Player.GetActorValue RadResist )
ShowMessage xStats, GameDaysPassed, num1, num2, num3, num4
elseif ( choiceID == 1 )
set num1 to ( Player.GetActorValue Karma )
ShowMessage xKarma, num1
elseif ( choiceID == 2 )
set num1 to ( Player.GetActorValue PerceptionCondition )
set num2 to ( Player.GetActorValue EnduranceCondition )
set num3 to ( Player.GetActorValue LeftAttackCondition )
set num4 to ( Player.GetActorValue RightAttackCondition )
set num5 to ( Player.GetActorValue LeftMobilityCondition )
set num6 to ( Player.GetActorValue RightMobilityCondition )
set num7 to ( Player.GetActorValue Radiationrads )
ShowMessage xCondition, num1, num2, num3, num4, num5, num6, num7
elseif ( choiceID == 3 )
set num1 to ( GetReputation RepNVBoomer 1 )
set num2 to ( GetReputation RepNVBoomer 0 )
set num3 to ( GetReputation RepNVBrotherhood 1 )
set num4 to ( GetReputation RepNVBrotherhood 0 )
set num5 to ( GetReputation RepNVCaesarsLegion 1 )
set num6 to ( GetReputation RepNVCaesarsLegion 0 )
set num7 to ( GetReputation RepNVFollowers 1 )
set num8 to ( GetReputation RepNVFollowers 0 )
ShowMessage xRep1, num1, num2, num3, num4, num5, num6, num7, num8
set num1 to ( GetReputation RepNVFreeside 1 )
set num2 to ( GetReputation RepNVFreeside 0 )
set num3 to ( GetReputation RepNVGoodsprings 1 )
set num4 to ( GetReputation RepNVGoodsprings 0 )
set num5 to ( GetReputation RepNVGreatKhans 1 )
set num6 to ( GetReputation RepNVGreatKhans 0 )
set num7 to ( GetReputation RepNVNCR 1 )
set num8 to ( GetReputation RepNVNCR 0 )
ShowMessage xRep2, num1, num2, num3, num4, num5, num6, num7, num8
set num1 to ( GetReputation RepNVNovac 1 )
set num2 to ( GetReputation RepNVNovac 0 )
set num3 to ( GetReputation RepNVPowderGanger 1 )
set num4 to ( GetReputation RepNVPowderGanger 0 )
set num5 to ( GetReputation RepNVTheStrip 1 )
set num6 to ( GetReputation RepNVTheStrip 0 )
set num7 to ( GetReputation RepNVWhiteGloveSociety 1 )
set num8 to ( GetReputation RepNVWhiteGloveSociety 0 )
ShowMessage xRep3, num1, num2, num3, num4, num5, num6, num7, num8
endif
set checkChoice to 0
endif
endif
end

Link to comment
Share on other sites

  • Recently Browsing   0 members

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