i want make this system(like save)

egomanyak

New Member
Reaction score
8
have 5 region (if addable its verry nice)
and this save ONLY FOR LUMBERS
if he have 0-3 lumber create a wisp in region 1
if he have 3-6 lumber create a wisp in region 2
if he have 6-9 lumber create a wisp in region 3
if he have 9-12 lumber create a wisp in region 4
if he have 12-15 lumber create a wisp in region 5

and if he use load he cant use -new code
if he use -new he cant use load
he cant use load or save again
and: he no lost lumber


if someone can help me... god bless him :D
 

Joccaren

You can change this now in User CP.
Reaction score
54
I have no clue how that saves anything but, try this: (Done Freehand, srry)

Event: Every 1 second of game time
Conditions:
Actions: If/then/else:
If: (Player X)'s lumber equal to 1 or (Player X)'s lumber equal to 2 or (Player X)'s lumber equal to 3
Then:
Remove all units owned by Player X matching (Matching unit) is in Region 2
Remove all units owned by Player X matching (Matching unit) is in Region 3
Remove all units owned by Player X matching (Matching unit) is in Region 4
Remove all units owned by Player X matching (Matching unit) is in Region 5
Create one Wisp for Player X at centre of Region 1
Else:


and repeat If then Else for each region.

For Your 'Can't create new if loading and can't load if creating new' just make a condition in the section for picking a new hero and loading:

'(Triggering Player)'s food equal to 0'

and make all units except the hero cost zero food. This way, when they get a new hero, their food is no longer 0 and therefore can't make a new hero.
 

Joccaren

You can change this now in User CP.
Reaction score
54
Use game caches. If you want help with this, post and I will help.
 

egomanyak

New Member
Reaction score
8
hmm... i get a good idea for save from my friend but my english does not allow to tell :S

and '(Triggering Player)'s food equal to 0' how do this?
edit: I FIND thanks...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top