I am trying to figure out how to have players have separate mods in gameplay using a Lua file instead of attacks. Is there any way I could do this using the Lua file grabbed from here?
I might be wrong but you can use:
if GAMESTATE:IsPlayerEnabled(PLAYER_1) then
--your P1 code
end
if GAMESTATE:IsPlayerEnabled(PLAYER_2) then
--your P2 code
end
if GAMESTATE:IsPlayerEnabled(PLAYER_1) then
--your P1 code
end
if GAMESTATE:IsPlayerEnabled(PLAYER_2) then
--your P2 code
end
~Santikun