Hi there, thanks for the tutorial it cleared up some things.
However I have not yet been able to finish what I started. My idea is to have the game host decide on the supply limit for the game.
Now I want the game to adjust the supply limit for all players according to the value chosen by the game host. But I do not understand how to set a integer variable with the value selected for the game attribute.
For example I can't just set my "Supply limit lobby" variable with the attribute value. At least to me it seems to act like a constant value if I set it to:
Attribute: Supply Limit
Value: 200
I doubt that if I set it like this I will have any way of picking the value I want.
Second problem I am running into is that even if this would work the variable isn't an integer. And I can only select an integer variable for the action I want to use to set the supply limit:
Player - Modify player Player Supplies Limit: Set to "Supply limit Lobby"
I made an extra variable "Supply Limit Lobby integer" as I thought I might be able to convert the "Supply Limit Lobby" to an integer. But that didn't work either or I don't know how.
Also I have only half a clue of most of the things I am doing here. I have included a couple of screenies here so you can see what I have done. I hope you can help me to see what I am doing wrong.
0
@goofoffjw: Go
Thanks for the tip. Also got an other one. I managed to work it out after your suggestion though.
The attached map shows how to implement custom supply limit to be set in the lobby. Eventually I came out using a Switch rather then an if-then.
Supply can be set to 200, 300(default), 400, 500, 600
If you want lag hehe pick the last one and play 12 ppl ffa ;-)
0
Hi there, thanks for the tutorial it cleared up some things.
However I have not yet been able to finish what I started. My idea is to have the game host decide on the supply limit for the game.
Now I want the game to adjust the supply limit for all players according to the value chosen by the game host. But I do not understand how to set a integer variable with the value selected for the game attribute.
For example I can't just set my "Supply limit lobby" variable with the attribute value. At least to me it seems to act like a constant value if I set it to: Attribute: Supply Limit Value: 200 I doubt that if I set it like this I will have any way of picking the value I want.
Second problem I am running into is that even if this would work the variable isn't an integer. And I can only select an integer variable for the action I want to use to set the supply limit: Player - Modify player Player Supplies Limit: Set to "Supply limit Lobby"
I made an extra variable "Supply Limit Lobby integer" as I thought I might be able to convert the "Supply Limit Lobby" to an integer. But that didn't work either or I don't know how.
Also I have only half a clue of most of the things I am doing here. I have included a couple of screenies here so you can see what I have done. I hope you can help me to see what I am doing wrong.
0
@Pandaros_Brewmaster: Go
Thanks NeoDeathXp, very helpfull tutorial for me!
I had already made up some things by trail and error but I got stuck at some point. Your tutorial helped me understand what I was doing again :)