This is the last thing I need before my game can go live (excited!)
I have a defeat condition set up for if a player looses their Hero unit, but I need a victory condition for when there is only 1 player left in the game. Ridiculously simple I know but I cant seem to work it....
Also, if anyone knows a way to give a defeated player observer privileges though would be great but its the above Im most concerned with atm =D
I don't know about victory/defeat conditions in data, if it's possible at all. But I think it's easier with triggers anyway.
You can add all players into a player group and when a player gets defeated remove him from there and add it to a defeated player group. After that check how many players still remain in the active group, if it's only 1 then do a player group loop for both groups and then end the game in defeat/victory for the picked player.
This is the last thing I need before my game can go live (excited!)
I have a defeat condition set up for if a player looses their Hero unit, but I need a victory condition for when there is only 1 player left in the game. Ridiculously simple I know but I cant seem to work it....
Also, if anyone knows a way to give a defeated player observer privileges though would be great but its the above Im most concerned with atm =D
Ta!
I don't know about victory/defeat conditions in data, if it's possible at all. But I think it's easier with triggers anyway.
You can add all players into a player group and when a player gets defeated remove him from there and add it to a defeated player group. After that check how many players still remain in the active group, if it's only 1 then do a player group loop for both groups and then end the game in defeat/victory for the picked player.
Oh hell, Iv been so use to posting here that I completely forgot that this is for data only! Silly me!!!
Anyway, thats for the advice guys, Ill go look into that right now =D