Exemplo n.º 1
0
func SetBeamer(object pBeam,int iOwner,object pBefo)
{
	SetPlrViewRange(200);
	pBeamer = pBeam;
	pBef = pBefo;
	SetOwner(iOwner);
	SetCursor(iOwner,this());
	SetVisibility(VIS_None | VIS_Owner);
}
Exemplo n.º 2
0
global func DoInitPlayer(int player)
{
	var index = 0;
	while(GetPlayerByIndex(index, C4PT_User) != player && index < GetPlayerCount(C4PT_User)) index++;
	var pClonk = GetHiRank(player);
	SetFoW(1, player);
	SetPlrViewRange(0, pClonk);
	pClonk->SetRelaunch();

	// Storyobject erzeugen
	if(!FindObject(_STY))
	{
		CreateObject(_STY)->~Start();
	}
}