Jump to content

Script help needed.


ObLars

Recommended Posts

Hello people. I'v got a problem with my script. How come when i buy 5 BrahminTokens, i only get one brahmin to spawn? 1 Brahmin Token enables 1 Brahmin.

 

 

 

Scn WolfhornRanchStorySCRIPT

Begin GameMode
 If getstage WolfhornRanch == 40
   If Player.getitemcount BrahminToken > 0
     WolfhornBrahmin1REF.enable
     Setstage WolfhornRanch 60
   EndIf
ElseIf getstage WolfhornRanch == 60
 Setstage WolfhornRanch 100
 ShowMessage WolfhornQuestBrahminsBought
ElseIf getstage WolfhornRanch == 100
 If Player.getitemcount BrahminToken == 2
   WolfhornBrahmin2REF.enable 
If Player.getitemcount BrahminToken == 3
   WolfhornBrahmin3REF.enable
If Player.getitemcount BrahminToken == 4
   WolfhornBrahmin4REF.enable
If Player.getitemcount BrahminToken == 5
   WolfhornBrahmin5REF.enable
endif
endif
endif
 EndIf 
EndIf 
End

Link to comment
Share on other sites

  • Recently Browsing   0 members

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