• 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.

[Trigger] -Save -Load trigger for LUMBER

Status
Not open for further replies.
Level 10
Joined
Jun 7, 2008
Messages
420
I need a save load trigger for lumber and lumber only.
No need for fancy JASS, I don't know jass and its too late to learn now.
Plus my math is hopeless.
so... I need a GUI to do this please.

Thanks. In fact, put it in a map and mail it to me
[email protected]
and I'll just see where it is. Alternatively, just a screenshot of the triggers and explanation about their categories (I don't know what triggers are under where, else I wouldn't be here asking would I?). Thank you so much.
 
Level 11
Joined
Feb 16, 2009
Messages
760
Edit:
Im done

Copy these two triggers into your map
  • Lumber save
    • Events
      • Player - Player 1 (Red) types a chat message containing -save as A substring
      • Player - Player 2 (Blue) types a chat message containing -save as A substring
      • Player - Player 3 (Teal) types a chat message containing -save as A substring
      • Player - Player 4 (Purple) types a chat message containing -save as A substring
      • Player - Player 5 (Yellow) types a chat message containing -save as A substring
      • Player - Player 6 (Orange) types a chat message containing -save as A substring
      • Player - Player 7 (Green) types a chat message containing -save as A substring
      • Player - Player 8 (Pink) types a chat message containing -save as A substring
      • Player - Player 9 (Gray) types a chat message containing -save as A substring
      • Player - Player 10 (Light Blue) types a chat message containing -save as A substring
      • Player - Player 11 (Dark Green) types a chat message containing -save as A substring
      • Player - Player 12 (Brown) types a chat message containing -save as A substring
    • Conditions
    • Actions
      • Game - Display to (Player group((Triggering player))) for 60.00 seconds the text: (String((((Triggering player) Current lumber) + (Length of (Entered chat string)))))
  • Lumber load
    • Events
      • Player - Player 1 (Red) types a chat message containing -load as A substring
      • Player - Player 2 (Blue) types a chat message containing -load as A substring
      • Player - Player 3 (Teal) types a chat message containing -load as A substring
      • Player - Player 4 (Purple) types a chat message containing -load as A substring
      • Player - Player 5 (Yellow) types a chat message containing -load as A substring
      • Player - Player 6 (Orange) types a chat message containing -load as A substring
      • Player - Player 7 (Green) types a chat message containing -load as A substring
      • Player - Player 8 (Pink) types a chat message containing -load as A substring
      • Player - Player 9 (Gray) types a chat message containing -load as A substring
      • Player - Player 10 (Light Blue) types a chat message containing -load as A substring
      • Player - Player 11 (Dark Green) types a chat message containing -load as A substring
      • Player - Player 12 (Brown) types a chat message containing -load as A substring
    • Conditions
    • Actions
      • Set TempInteger = ((Length of (Entered chat string)) - 6)
      • Player - Set (Triggering player) Current lumber to (((Integer((Substring((Entered chat string), 7, 11)))) - TempInteger) + 1)
 
Last edited:
Status
Not open for further replies.
Top