- Joined
- Dec 15, 2012
- Messages
- 650
Codeless Save/Load _ !
Hi, guys. I learnt a lot of JASS but this one is too far from what I had learnt so I need your help
I do not need Save/Load Snippets and I just want to save variables :
P1_Integer, P1_Real, P1_String, P1_Boolean (for player 1)
P2_Integer, P2_Real, P2_String, P2_Boolean (for player 2)
P3_Integer, P3_Real, P3_String, P3_Boolean (for player 3)
I don't want to waste the size of my map so can you tell me that what triggers are needed for saving variable to code and where can I save my variables to codes ?
Thanks for your help/answer !
edit : currently do not need a demo
Hi, guys. I learnt a lot of JASS but this one is too far from what I had learnt so I need your help
P1_Integer, P1_Real, P1_String, P1_Boolean (for player 1)
P2_Integer, P2_Real, P2_String, P2_Boolean (for player 2)
P3_Integer, P3_Real, P3_String, P3_Boolean (for player 3)
I don't want to waste the size of my map so can you tell me that what triggers are needed for saving variable to code and where can I save my variables to codes ?
1. I'm not a stupid but a dummy, I need a Demo for this
2. Diary Book starts the effect of an ability, Save Game~ (I want give this trigger to all 3 players [don't mix them up so bugs won't happen so easily ]
2. Diary Book starts the effect of an ability, Save Game~ (I want give this trigger to all 3 players [don't mix them up so bugs won't happen so easily ]
-
Events
- Unit - A unit starts the effect of an ability
-
Conditions
- (Unit-type) equal to Diary Book
- (Owner of (Triggering unit)) equal to Player 1 (Red)
-
Actions
- Save P1_Integer, P1_Real, P1_String, P1_Boolean into codes for Player 1
edit : currently do not need a demo
Last edited: