Blockland Forums > Modification Help

Adding bricks to minigame

Pages: (1/3) > >>

DontCare4Free:

Basically, I have a script that automatically creates an AIConnection, a BrickGroup, loads a save and creates a minigame. The AIConnection is set as the owner of the minigame, that seems to work. However, whenever I place a brick and place it in the AIConnection's BrickGroup it still doesn't accept the brick into the minigame. Trying to add the AIConnection to the minigame doesn't work because it's discriminative and only accepts human players.

Greek2me:

Try setting %brick.owner to the aiConnection.

DontCare4Free:


--- Quote from: Greek2me on October 02, 2011, 05:17:40 PM ---Try setting %brick.owner to the aiConnection.

--- End quote ---
Still not working.

Amade:

1. Set the minigame's owner to the aiConnection.
2. Set the aiConnection's brickgroup to the brickgroup you created.
3. Set the brickgroup's client to the aiConnection.
4. Make sure the bricks you've created belong to that brickgroup.

DontCare4Free:


--- Quote from: Amade on October 02, 2011, 09:35:05 PM ---1. Set the minigame's owner to the aiConnection.
2. Set the aiConnection's brickgroup to the brickgroup you created.
3. Set the brickgroup's client to the aiConnection.
4. Make sure the bricks you've created belong to that brickgroup.

--- End quote ---
This is basically what I've already done. And no, it still doesn't work.

Pages: (1/3) > >>

Go to full version