Creating multiple entity-ghosts in the same location
Posted: Wed Nov 18, 2020 8:55 pm
Does anybody know if it is possible to create entity-ghosts of the same entity on the same location -- but for different forces? The general idea (not mine, I'm collaborating on the successor of one of the mods abandoned by Ownlyme) is to make bots put out fires by dropping water canisters on them. Placing ghosts already works, but so far, the ghosts are always placed on account of the force "player". This is OK for single player games and for multiplayer games where all players are on the default force. But in PvP scenarios, bots of other forces would never build the ghost, so fires could spread without control.
I've thought of creating not one ghost per fire, but one ghost for each force per fire. If any force has bots nearby, they would drop the canisters on their own blueprint (the entities would have to have a zero-collision box, obviously), and on removing the fire, I'd remove all remaining entity-ghosts. Would that work, or would the ghost on top block the other ghosts for good? It's hard to test this, so if anybody already has tried something like that, it could save me some time.
I've thought of creating not one ghost per fire, but one ghost for each force per fire. If any force has bots nearby, they would drop the canisters on their own blueprint (the entities would have to have a zero-collision box, obviously), and on removing the fire, I'd remove all remaining entity-ghosts. Would that work, or would the ghost on top block the other ghosts for good? It's hard to test this, so if anybody already has tried something like that, it could save me some time.
