I just made a cog for my level so that you can pick whether you have a Jan skin or a Kyle skin and they have different points to spawn at when they pick their skin, but it doesn't work. I suspect that it has something to do with the GetSource Ref or jkGetLocalPlayerThing.
Here it is:
Can someone help? Oh, and sorry for picking on the guy who kept asking about gamma. I'm havin' the same problem now...
j/k,j/k!!! ![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)
Here it is:
Code:
# The Gender Choice for the begining of my level. # [scott_karana] symbols thing player local thing manspawn //ghost for the spawn thing womanspawn // see above comment...model male=ky.3do local model female=kya10.3do local surface man linkid=1 surface woman linkid=2 message activated end # ======================================================================================== code player=jkGetLocalPlayerThing; activated: if (GetSourceRef==player) { if (GetSenderID() == 1) { Teleport(player,manspawn); SetThingModel(player,male); } if (GetSenderID() == 2) { Teleport(player,womanspawn); SetThingModel(player,female); } } # ........................................................................................ end
Can someone help? Oh, and sorry for picking on the guy who kept asking about gamma. I'm havin' the same problem now...
j/k,j/k!!! ![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)
Hey, I'm here! But who cares?
model male=ky.3do local
model female=kya10.3do local
surface man linkid=1
surface woman linkid=2
message activated
end
# ========================================================================================
code
player=jkGetLocalPlayerThing;
activated:
if (GetSourceRef==player)
{
if (GetSenderID() == 1)
{
Teleport(player,manspawn);
SetThingModel(player,male);
}
if (GetSenderID() == 2)
{
Teleport(player,womanspawn);
SetThingModel(player,female);
}
}
# ........................................................................................
end![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)