What does the blocker entity do?
What does the blocker entity do?
What's up with the blocker entity? It doesn't seem to block the party from walking on that tile. What do I need to prevent a party from walking on a tile, but still allow thrown objects/spells to pass through?
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: What does the blocker entity do?
block entity is for blocking monster movements.
Invisible Wall blocks the party, but it also blocks projectiles.
if you wan't to block the party but allow projectiles just find some entity like swamp_dead_tree and then disable model (makes it invisible) and disable projectiecollider (allows projectiles to pass) but leave obstacle (or else the party will pass)
easy
Invisible Wall blocks the party, but it also blocks projectiles.
if you wan't to block the party but allow projectiles just find some entity like swamp_dead_tree and then disable model (makes it invisible) and disable projectiecollider (allows projectiles to pass) but leave obstacle (or else the party will pass)
easy

- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: What does the blocker entity do?
ahh small problem, swamp_dead_tree shows up on the minimap as tree, so use instead beach_thicket , that one doesn't have a minimap gfx.
Re: What does the blocker entity do?
ah, Skuggasveinn is faster 

Re: What does the blocker entity do?
Funny thing I noticed about the beach thicket. If you swing at it, the thicket suddenly becomes visible and has health and is destructable. Even if you disable health and the model.
Seems like we might need to define a custom blocker entity so that we have a minified 1x1 obstacle with no model, no gfx, no projectile collider, and no health.
Seems like we might need to define a custom blocker entity so that we have a minified 1x1 obstacle with no model, no gfx, no projectile collider, and no health.
Re: What does the blocker entity do?
I just defined this object to block monsters and the party, but to let objects and spells through:
Code: Select all
defineObject{
name = "party_blocker",
baseObject = "blocker",
components = {
{
class = "Obstacle"
}
}
}