Author Topic: How do i make Different shaped spawnpoint bricks?  (Read 495 times)

datablock fxDTSBrickData(brickNameData : brickSpawnPointData)
{
   brickFile = "./Brick,blb";
   category = "Special";
   subCategory = "Brickies";
   uiName = "Brick Spawn";
   specialbricktype = "SpawnPoint";
};

This doesn't seem to work... and This:
package a {
function GameConnection::getSpawnPoint(%client)
   {
      return Parent::getSpawnPoint(%client);   
   }
};

seem's like it is un-needed because you are just changing the shape of a spawn brick

What can I do to make different shaped spawn bricks without the extra getSpawnPoint(%this) stuff?

I dunno about the bricks, but I can tell you that the package has literally no effect.

I dunno about the bricks, but I can tell you that the package has literally no effect.
I know, because I didn't put anything in it...
It was the function and it's parent..

Spawn bricks are most likely grouped with a container object like SpawnGroup or something where it will then chose a random one from
I'm not sure though

Have you tried .save() on the original spawn point brick? Or trace(1);%client.spawnplayer();trace(0);

Look at line 3.

Quote
brickFile = "./Brick,blb";

Look at line 3.

i know, that isnt in the code because the brick actually works in blockland

So really, I just use "fxDTSBrick::OnPlant" to add the brick to an array which a random number in the array is called upon when the player spawns?

So really, I just use "fxDTSBrick::OnPlant" to add the brick to an array which a random number in the array is called upon when the player spawns?

You are just changing the shape of it? Then no.

Just do something like this:
Code: [Select]
datablock fxDtsBrickData(brickSlyrSpawnPointData : brickSpawnPointData)
{
brickFile = "Add-Ons/Your_Add_On/brick.blb";

uiName = "Team Spawn Point";
category = "Slayer";
subCategory = "General";
};