• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Bank loading issues

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
[SOLVED]Bank loading issues

[TRIGGER=]Map Initalization
Events
Game - Map initialization
Local Variables
Conditions
Actions
Bank - Open bank "Wholesitebank" for player 1
Bank - Preload and synchronize bank "Wholesitebank" for player 1
Bank - Open bank "Wholesitebank" for player 1
Bank - Preload and synchronize bank "Wholesitebank" for player 1
Variable - Set b1 = (Load "1" of section "1" from bank Wholesitebank as integer value)
[/TRIGGER]
  • Untitled Trigger 004
    • Events
      • Unit - Any Unit dies
    • Local Variables
    • Conditions
      • (Unit type of (Triggering unit)) == Zergling
    • Actions
      • Variable - Set b1 = (b1 + 1)
      • Bank - Store integer b1 as "1" of section "1" in bank Wholesitebank
      • UI - Display (Text(b1)) for (All players) to Error area
      • Bank - Save bank Wholesitebank


Im using these 2 triggers but its not loading the bank values, B1 isnt set. it always announces as 1 2 3 4 when killing 4 zerglings. Is it needed to be campaign for a bank to work? if not, what am i doing wrong?

Edit : got it solved by setting the variable Wholesitebank as last created bank after the banks are opened.
 
Last edited:
Status
Not open for further replies.
Top