Author Topic: Spawn Bricks  (Read 604 times)

I have this idea of making people spawn at spawn points on my server, while I am not in the mini. Bricks owners have to be included in the mini for people to spawn on their spawn points, so I am attempting to transform the player to the brick if it exists. It keeps failing.

Code: [Select]
function brickTDMTeam1SpawnPointData::spawnPlayer(%this, %obj)
{
if(isObject(brickTDMTeam1SpawnPointData))
{
%this.getTransform();
%obj.setTransform(%this);
}
}

I am very new to coding, so I have absolutely no idea of what I wrote down on my script, XD... Can you please help? Thanks.

Most things in TDM will not work if you are not in the minigame such as capture points or any kind of objective.

The best solution to most needs would to make players in no team have the basic tools and the Non-Combat Player type and then set yourself to there when you need to fix things or just aren't actively playing.
« Last Edit: April 03, 2010, 08:09:27 AM by Space Guy »

Most things in TDM will not work if you are not in the minigame such as capture points or any kind of objective.

The best solution to most needs would to make players in no team have the basic tools and the Non-Combat Player type and then set yourself to there when you need to fix things or just aren't actively playing.
The thing is I want to be able to leave the server, isn't there a better solution to the problem?

Potentially by severely hacking minigame owners and such but I'm not recommending that you do so and haven't tried it myself so wouldn't know how.

Potentially by severely hacking minigame owners and such but I'm not recommending that you do so and haven't tried it myself so wouldn't know how.
It doesn't matter, I'll just keep going afk on my server. Thank you anyways.