It will not work, I tired this before many time. But only work is spawn vehicles.
And why do you think it won't work?
datablock fxDTSBrickData (brick4x4SpawnPointData : brickSpawnPointData){ brickFile = "Add-Ons/Brick_Spawn/4x4spawn.blb"; category = "Special"; subCategory = "Interactive"; uiName = "4x4"; iconName = "Add-Ons/Brick_Spawn/4x4spawn"; specialbricktype = "SpawnPoint"; indestructable = 1;};
Because, I did this many time. Be my guest, If you want try it. I am going give to you this script.Code: [Select]datablock fxDTSBrickData (brick4x4SpawnPointData : brickSpawnPointData){ brickFile = "Add-Ons/Brick_Spawn/4x4spawn.blb"; category = "Special"; subCategory = "Interactive"; uiName = "4x4"; iconName = "Add-Ons/Brick_Spawn/4x4spawn"; specialbricktype = "SpawnPoint"; indestructable = 1;};specialbricktype = "SpawnPoint"; this for spawn point.
Have you made the blb file for it? I bet I could make it work.
I am done! the brick 4x4 are not perfect, becuase I was rushed doing this eh! here it is.. remember It will not work.http://www.mediafire.com/download/2f8peccfb146a25/Brick_Spawn.zip
Almost done making the BLB.EDIT: Should I make the arrow in the middle of the spawn bigger too?
not matter to me, it's up to you... but spawnpoint will not work anyway.EDIT: If you are going use my script, please credit on me, thank you.
EDIT: If you are going use my script, please credit on me, thank you.
I have in fact, gotten it to work. But I see no reason to give you credit. All you did was write a brick datablock and I would have written it almost the exact same way anyways. I also changed the datablock a bit too.
alright. How you manged make it worked, I was failed many time.
function brick4xSpawnPointData::onPlant(%data, %brick){ if(!isObject(%group = %brick.getGroup())) { return; } if(!%group.spawnBrickCount) { %group.spawnBrickCount = 0; } %group.spawnBrick[%group.spawnBrickCount] = %brick; %group.spawnbrickCount++;}
It took me a while, some tracing, and other research. But I figured it out.Just do this but change out the datablock name.Code: [Select]function brick4xSpawnPointData::onPlant(%data, %brick){ if(!isObject(%group = %brick.getGroup())) { return; } if(!%group.spawnBrickCount) { %group.spawnBrickCount = 0; } %group.spawnBrick[%group.spawnBrickCount] = %brick; %group.spawnbrickCount++;}