Any cogger who has some experience, does understand what this cog should do... it works in new MP levels, but it doesn't work with LEC levels...
------------------
The death is smiling to all of us,
All what we can do, is smile back.
--
Also, visit my homepage, the Cave
Code:
# Jedi Knight Cog Script # # invbases.cog # # [Cave_Demon] # # # This Cog is Not supported by LucasArts Entertainment Co symbols Thing consol1 linkid=1 Thing consol2 linkid=2 Thing consol3 linkid=3 Thing consol4 linkid=4 Thing consol5 linkid=5 Thing consol6 linkid=6 Thing flag1 Thing flag2 Thing flag3 Thing flag4 Thing flag5 Thing flag6 Model red Model gold Int scoret=5 local Int team local Message Activated end # ======================================================================================== code # ........................................................................................ Activated: if(GetSenderId() == 1 && GetPlayerTeam(player) == 1) { SetThingModel(flag1, red); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 1 && GetPlayerTeam(player) == 2) { SetThingModel(flag1, gold); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 2 && GetPlayerTeam(player) == 1) { SetThingModel(flag2, red); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 2 && GetPlayerTeam(player) == 2) { SetThingModel(flag2, gold); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 3 && GetPlayerTeam(player) == 1) { SetThingModel(flag3, red); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 3 && GetPlayerTeam(player) == 2) { SetThingModel(flag3, gold); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 4 && GetPlayerTeam(player) == 1) { SetThingModel(flag4, red); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 4 && GetPlayerTeam(player) == 2) { SetThingModel(flag4, gold); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 5 && GetPlayerTeam(player) == 1) { SetThingModel(flag5, red); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 5 && GetPlayerTeam(player) == 2) { SetThingModel(flag5, gold); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 6 && GetPlayerTeam(player) == 1) { SetThingModel(flag6, red); SetPlayerScore(player, GetPlayerScore(player) + 5); } else if(GetSenderId() == 6 && GetPlayerTeam(player) == 2) { SetThingModel(flag6, gold); SetPlayerScore(player, GetPlayerScore(player) + 5); } Return; end
------------------
The death is smiling to all of us,
All what we can do, is smile back.
--
Also, visit my homepage, the Cave
WHAT?