ok,here is my cog,now something is incorrect,but what?
Please help me
------------------
The path has been placed before you,
the choise is yours alone.
It will be a hard life,
but you will find out:
Who you are.
Quote:
<font face="Verdana, Arial" size="2"># Jedi Knight Cog Script
#
# inv1.COG
#
# [Lifeform]
#
#
# This Cog is Not supported by LucasArts Entertainment Co
symbols
Sector green linkid=1
Sector red linkid=2
Sector gold linkid=3
surface plygre
surface plyred
surface plygol
thing player local
int num local
message entered
end
# ========================================================================================
code
Entered:
player = GetLocalPlayerThing();
if(GetSenderID() == 1);
{
SetPlayerTeam(player,1);
num = ((GetNumPlayersInTeam(1)) + 1);
SetWallCel(plygre,num);
}
if(GetSenderID() == 2);
{
SetPlayerTeam(player,2);
num = ((GetNumPlayersInTeam(2)) + 1);
SetWallCel(plyred,num);
}
if(GetSenderID() == 3);
{
SetPlayerTeam(player,3);
num = ((GetNumPlayersInTeam(3)) + 1);
SetWallCel(plygol,num);
}
Return;
end
</font>
#
# inv1.COG
#
# [Lifeform]
#
#
# This Cog is Not supported by LucasArts Entertainment Co
symbols
Sector green linkid=1
Sector red linkid=2
Sector gold linkid=3
surface plygre
surface plyred
surface plygol
thing player local
int num local
message entered
end
# ========================================================================================
code
Entered:
player = GetLocalPlayerThing();
if(GetSenderID() == 1);
{
SetPlayerTeam(player,1);
num = ((GetNumPlayersInTeam(1)) + 1);
SetWallCel(plygre,num);
}
if(GetSenderID() == 2);
{
SetPlayerTeam(player,2);
num = ((GetNumPlayersInTeam(2)) + 1);
SetWallCel(plyred,num);
}
if(GetSenderID() == 3);
{
SetPlayerTeam(player,3);
num = ((GetNumPlayersInTeam(3)) + 1);
SetWallCel(plygol,num);
}
Return;
end
</font>
Please help me
------------------
The path has been placed before you,
the choise is yours alone.
It will be a hard life,
but you will find out:
Who you are.