Hello everyone. I am attempting to make a game with lives, and to track each life I want to have a value saved to the data table. Each time a unit dies I would like to reduce that number by 1. I really don't want to make four separate triggers for each player that states "Set value to X by name of Y and save it to Data Table". I want to be able to say "Take Data Table value Y and reduce by 1" and have a single trigger for each person that will be able to take the life counter from 3 to 0.
Any help would be greatly appreciated. If I didn't explain myself correctly let me know, and I'll do my best to make it clearer. Thanks for your (pending) help!
0
@Dezrustrian: Go
Nevermind, I got it. You have to set a function.
0
Hello everyone. I am attempting to make a game with lives, and to track each life I want to have a value saved to the data table. Each time a unit dies I would like to reduce that number by 1. I really don't want to make four separate triggers for each player that states "Set value to X by name of Y and save it to Data Table". I want to be able to say "Take Data Table value Y and reduce by 1" and have a single trigger for each person that will be able to take the life counter from 3 to 0.
Any help would be greatly appreciated. If I didn't explain myself correctly let me know, and I'll do my best to make it clearer. Thanks for your (pending) help!