# \[SUPPORT\] Advanced Turn Based Tile Toolkit

**URL:** <https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [February 26, 2015, 8:30am UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930 "2015-02-26T08:30:16Z")\
**Posts on this page:** 20\
**Page:** 190

<div class="post-metadata">

**Author:** ![Monokkel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monokkel/32/1194496_2.png) [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Post date:** [June 21, 2021, 5:56pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3889 "2021-06-21T17:56:40Z")

</div>

> [@ser.man94](#):
>
> > [@](#):
> >
> > yes i asking how to check the range of the targeted unit to make sure it is in range so that it can counter attack?
> 
> the “target index in” is from special location or is to make a new variable?
> 
> i put before return attack if i understand corect.
> 
> ![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/b/db27a56c400245223e68b2fef5f25ca0ff3a5d14.png)
> 
> ![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/4/d43eb27ed461b34e7349f7509236d77673c33749.jpeg)

Sorry for the confusion. My example was in the ExecuteAbility function. It has a TargetInputIn parameter. In the AttackUnit function you can instead use the TargetUnit parameter. You just need to change a cople of small things:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/6/8655dfda5fd141463db8bff982084c825622a2aa.png)

---

<div class="post-metadata">

**Author:** ![phuoclam24](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/phuoclam24/32/88706_2.png) [@phuoclam24](https://forums.unrealengine.com/u/phuoclam24)\
**Post date:** [June 30, 2021, 8:51pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3890 "2021-06-30T20:51:27Z")

</div>

Hi ,  
I’ve just noticed that the health bars/unit huds are not showing up over units. I haven’t done anything with the HUD. I’ve checked in the debugger and “event set health bar fill” is being called, but health bars are not appearing. Any ideas as to why this might be?

---

<div class="post-metadata">

**Author:** ![Monokkel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monokkel/32/1194496_2.png) [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Post date:** [July 1, 2021, 8:48pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3891 "2021-07-01T20:48:58Z")

</div>

Hi phuoclam, since I do not know how you have modified your project this could be caused by any number of things. Does the game otherwise function as expected? Death animations playing when sufficient damage has been done to the units, for instance? Do you recall what part of the code you were working on when you first encountered the bug? Might give us an indication of where you broke something.

---

<div class="post-metadata">

**Author:** ![phuoclam24](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/phuoclam24/32/88706_2.png) [@phuoclam24](https://forums.unrealengine.com/u/phuoclam24)\
**Post date:** [July 1, 2021, 11:47pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3892 "2021-07-01T23:47:31Z")

</div>

Another question for you, I’m spawning some enemies during runtime but, on the spawned enemy’s turn to move, the puppet is stationary, a “grid location capsule” appears at the destination, and a bunch of runtime errors occur: “Accessed None trying to read property MovedActor… Blueprint: BP\_Action\_Move” What do I need to do to fix this? FYI, the spawned enemy is a child of BP\_Unit\_Anim. Thanks!

---

<div class="post-metadata">

**Author:** ![phuoclam24](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/phuoclam24/32/88706_2.png) [@phuoclam24](https://forums.unrealengine.com/u/phuoclam24)\
**Post date:** [July 1, 2021, 11:55pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3893 "2021-07-01T23:55:35Z")

</div>

Game otherwise does function as expected (death animations, etc), the health bar is just not visible. It’s strange as I haven’t modified the actors or HUD in any way. I have custom children of BP\_Unit\_Anim but that shouldn’t affect the health bar. Even stranger, I’ve tried adding BP\_Unit to the level (and BP\_Unit\_Anim\_Debug) and no health bars. Unfortunately, I don’t know where in the code I was working when the bug first occurred ☹

---

<div class="post-metadata">

**Author:** ![ser.man94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ser.man94](https://forums.unrealengine.com/u/ser.man94)\
**Post date:** [July 3, 2021, 2:56pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3894 "2021-07-03T14:56:07Z")

</div>

> [@](#):
>
> Sorry for the confusion. My example was in the ExecuteAbility function. It has a TargetInputIn parameter. In the AttackUnit function you can instead use the TargetUnit parameter. You just need to change a cople of small things:

Thank you

how to ad fly to creatures ? i have the castle wall and want to make some unit posibility to fly.

 ![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/3/231c2e1c15d5a6fecc4f67d79c42724804bc2bc6.jpeg)

---

<div class="post-metadata">

**Author:** ![Monokkel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monokkel/32/1194496_2.png) [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Post date:** [July 3, 2021, 7:28pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3895 "2021-07-03T19:28:22Z")

</div>

> [@phuoclam24](#):
>
> Another question for you, I’m spawning some enemies during runtime but, on the spawned enemy’s turn to move, the puppet is stationary, a “grid location capsule” appears at the destination, and a bunch of runtime errors occur: “Accessed None trying to read property MovedActor.. Blueprint: BP\_Action\_Move” What do I need to do to fix this? FYI, the spawned enemy is a child of BP\_Unit\_Anim. Thanks!

This is an issue I’ve seen before, but which I believe should have been fixed. You are using the very latest version, or did you start the project a while ago? In the MpSpawn map does spawning work correctly? How are you spawning your units?

> [@phuoclam24](#):
>
> Game otherwise does function as expected (death animations, etc), the health bar is just not visible. It’s strange as I haven’t modified the actors or HUD in any way. I have custom children of BP\_Unit\_Anim but that shouldn’t affect the health bar. Even stranger, I’ve tried adding BP\_Unit to the level (and BP\_Unit\_Anim\_Debug) and no health bars. Unfortunately, I don’t know where in the code I was working when the bug first occurred ☹

Extremely hard to know the cause, then. But a few things you can do to look for the issue. In the UnitHud widget and WBP\_UnitHud, try printing some values to see if they are being triggered at all during gameplay. Way to check that the underlying code is running correctly, at least.

> [@ser.man94](#):
>
> > [@](#):
> >
> > Sorry for the confusion. My example was in the ExecuteAbility function. It has a TargetInputIn parameter. In the AttackUnit function you can instead use the TargetUnit parameter. You just need to change a cople of small things:
> 
> Thank you
> 
> how to ad fly to creatures ? i have the castle wall and want to make some unit posibility to fly.
> 
> ![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/3/231c2e1c15d5a6fecc4f67d79c42724804bc2bc6.jpeg)

Check out my “Terrain Costs” tutorial. There I explain how to have different units be able to move over different tiles. That should work for flying units in your game, I believe:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/4/ce43ce0597812eebeca31692947cd837b84f5d27.jpeg "ATBTT - Experiments - Terrain Costs") ](https://www.youtube.com/watch?v=8JEzy1Z80xU)

---

<div class="post-metadata">

**Author:** ![phuoclam24](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/phuoclam24/32/88706_2.png) [@phuoclam24](https://forums.unrealengine.com/u/phuoclam24)\
**Post date:** [July 3, 2021, 10:28pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3896 "2021-07-03T22:28:38Z")

</div>

> [@](#):
>
> This is an issue I’ve seen before, but which I believe should have been fixed. You are using the very latest version, or did you start the project a while ago? In the MpSpawn map does spawning work correctly? How are you spawning your units?

I didn’t realize there was a spawn map… I need to clarify. I want to create additional enemies during a match (not just at the beginning/before a match starts) and call “SpawnActor” to create the units. I obviously need to do something more to attach a working puppet to the newly created units?  
(fyi, I am using latest version, MpSpawn map does work).

---

<div class="post-metadata">

**Author:** ![ser.man94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ser.man94](https://forums.unrealengine.com/u/ser.man94)\
**Post date:** [July 4, 2021, 9:07am UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3897 "2021-07-04T09:07:23Z")

</div>

Good day. how to add, create or edit special abilyti lice grenade, hill, resurect, or cheange any parametr of unyt range attack etc?

---

<div class="post-metadata">

**Author:** ![phuoclam24](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/phuoclam24/32/88706_2.png) [@phuoclam24](https://forums.unrealengine.com/u/phuoclam24)\
**Post date:** [July 5, 2021, 4:24am UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3898 "2021-07-05T04:24:52Z")

</div>

figured it out, I just needed to call Unit-\>spawn puppet lol. You’d just expect the puppet to spawn when you spawn a unit… Looking at BP\_AbilityBase\_SpawnUnits you do not call spawn puppet either so that’s weird…

---

<div class="post-metadata">

**Author:** ![Monokkel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monokkel/32/1194496_2.png) [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Post date:** [July 5, 2021, 6:07pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3899 "2021-07-05T18:07:52Z")

</div>

> [@ser.man94](#):
>
> Good day. how to add, create or edit special abilyti lice grenade, hill, resurect, or cheange any parametr of unyt range attack etc?

Hi, those are many different things. Most of those can be made through abilities, but in very different ways. Can you choose one to start with and describe a bit more how you want it to work?

> [@phuoclam24](#):
>
> figured it out, I just needed to call Unit-\>spawn puppet lol. You’d just expect the puppet to spawn when you spawn a unit… Looking at BP\_AbilityBase\_SpawnUnits you do not call spawn puppet either so that’s weird…

Ok, glad you got it working, but the unit should indeed be spawning the puppet on its own. Wonder why that isn’t happening here. Where are you spawning the units? Is it during BeginPlay or at a later point? Could you show be the spawn node with how you have set up the inputs? Any chance you might be spawning it on the client?

---

<div class="post-metadata">

**Author:** ![phuoclam24](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/phuoclam24/32/88706_2.png) [@phuoclam24](https://forums.unrealengine.com/u/phuoclam24)\
**Post date:** [July 6, 2021, 4:28pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3900 "2021-07-06T16:28:34Z")

</div>

![Untitled-1](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/8/68336f083c63a67de4986af2dd5cdcffdbc36550.jpeg)  
units are being spawned during gameplay, not BeginPlay (ie. when a waypoint is reached, and when the previous “wave” of enemies is defeated). The “spawn new monster wave” (attached) is in BP\_ATBTT. I believe it is server side, but not 100% sure as I intend the game to be single player only and haven’t diligently made sure. Anyway, the issue is resolved by spawning the puppet and it may be best to leave it there as time may be better spent on other things now 😉

---

<div class="post-metadata">

**Author:** ![phuoclam24](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/phuoclam24/32/88706_2.png) [@phuoclam24](https://forums.unrealengine.com/u/phuoclam24)\
**Post date:** [July 6, 2021, 6:02pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3901 "2021-07-06T18:02:04Z")

</div>

Another question for you, I’m trying to create a “stun trap” which ends a unit’s movement (and turn) when the unit enters the tile with the trap. Because of how BP\_Ability\_Move, pathfinding, and the action queue work, the unit continues to move to it’s destination after entering the trap tile. I figure the easiest thing would be to remove the “move action” from the action queue. But doing this (or otherwise manipulating the action queue directly) freezes the game. I’ve tried calling all the “action manager” functions I can think of: Action Destruction Loop, Attempt Destroy Action (in a loop), Play Next Action, End Action, etc. but they are not doing what I want. Any ideas? How do I stop a Unit’s movement? Thanks!

---

<div class="post-metadata">

**Author:** ![ser.man94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ser.man94](https://forums.unrealengine.com/u/ser.man94)\
**Post date:** [July 7, 2021, 5:29pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3902 "2021-07-07T17:29:35Z")

</div>

> [@](#):
>
> Hi, those are many different things. Most of those can be made through abilities, but in very different ways. Can you choose one to start with and describe a bit more how you want it to work?

How to add heal to unit or just use

---

<div class="post-metadata">

**Author:** ![arkanos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkanos/32/1045904_2.png) [@arkanos](https://forums.unrealengine.com/u/arkanos)\
**Post date:** [July 8, 2021, 2:20pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3903 "2021-07-08T14:20:26Z")

</div>

Hey ,

I’ve been playing around lately with the Hex grid and I was wondering if it’s possible to integrate the Cover&Stealth systems with it. Units seem to ignore completely the walls and tiles and the abilities from enemies. I have added the BP\_CoverSystem & BP\_StealthSystem to the grid manager and the BP\_UnitStealthComponent to the units.

If at least I could use the cover system with the hex grid, that’d be superb!

Thanks for the support!

---

<div class="post-metadata">

**Author:** ![Monokkel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monokkel/32/1194496_2.png) [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Post date:** [July 8, 2021, 5:22pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3904 "2021-07-08T17:22:38Z")

</div>

> [@phuoclam24](#):
>
> Another question for you, I’m trying to create a “stun trap” which ends a unit’s movement (and turn) when the unit enters the tile with the trap. Because of how BP\_Ability\_Move, pathfinding, and the action queue work, the unit continues to move to it’s destination after entering the trap tile. I figure the easiest thing would be to remove the “move action” from the action queue. But doing this (or otherwise manipulating the action queue directly) freezes the game. I’ve tried calling all the “action manager” functions I can think of: Action Destruction Loop, Attempt Destroy Action (in a loop), Play Next Action, End Action, etc. but they are not doing what I want. Any ideas? How do I stop a Unit’s movement? Thanks!

Haven’t extensively tested it, but I believe adding the following to the floor trap in the Demo level should do the trick:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/4/e415d5fc0454442b0538c35e60a5d5bc84d1f230.png)

> [@ser.man94](#):
>
> How to add heal to unit or just use

There is already a heal ability included in the JungleRaid and Demo maps. Does this not work the way you want it to?

> [@arkanos](#):
>
> Hey ,
> 
> I’ve been playing around lately with the Hex grid and I was wondering if it’s possible to integrate the Cover&Stealth systems with it. Units seem to ignore completely the walls and tiles and the abilities from enemies. I have added the BP\_CoverSystem & BP\_StealthSystem to the grid manager and the BP\_UnitStealthComponent to the units.
> 
> If at least I could use the cover system with the hex grid, that’d be superb!
> 
> Thanks for the support!

Hi Arkanos, the Stealth system should work just as well for hexagonal grids, so not sure what might be wrong there. When you say completely ignoring walls and tiles what do you mean?

For having the cover system work on a hexagonal grid, one of the devs on the ATBTT Discord channel recently got it working. I recommend hitting up kiltedfrog on the Discord (link to Discord on the ATBTT store page) to see what changes they made.

---

<div class="post-metadata">

**Author:** ![ser.man94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ser.man94](https://forums.unrealengine.com/u/ser.man94)\
**Post date:** [July 8, 2021, 5:51pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3905 "2021-07-08T17:51:51Z")

</div>

> [@](#):
>
> There is already a heal ability included in the JungleRaid and Demo maps. Does this not work the way you want it to?

Sory not heal, resurectin from part of death stack or fuly death stack.

---

<div class="post-metadata">

**Author:** ![arkanos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkanos/32/1045904_2.png) [@arkanos](https://forums.unrealengine.com/u/arkanos)\
**Post date:** [July 8, 2021, 6:21pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3906 "2021-07-08T18:21:31Z")

</div>

> [@](#):
>
> Hi Arkanos, the Stealth system should work just as well for hexagonal grids, so not sure what might be wrong there. When you say completely ignoring walls and tiles what do you mean?

I meant that there was no interaction between the units and the blocking tiles, like if the CoverSystem was not working at all. Sorry to mix both components in the same sentence. I have read it again and it’s kind of misleading.

I will double check on the Stealth system and try to understand why it is not working as intended.

> [@](#):
>
> For having the cover system work on a hexagonal grid, one of the devs on the ATBTT Discord channel recently got it working. I recommend hitting up kiltedfrog on the Discord (link to Discord on the ATBTT store page) to see what changes they made.

Yup, we are already having a little chat and has helped me with some tricks and hacks 😃

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![Monokkel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monokkel/32/1194496_2.png) [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Post date:** [July 10, 2021, 7:15pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3907 "2021-07-10T19:15:47Z")

</div>

> [@ser.man94](#):
>
> Sory not heal, resurectin from part of death stack or fuly death stack.

Ok, try this out. You should do some testing to see if it gives you the results you want. Pay close attention to the nodes I have highlighted here to make sure you add all the relevant changes:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/c/bc9ffa1a9906f25b3346324eadc5ab8975603be0.jpeg)

> [@arkanos](#):
>
> > [@](#):
> >
> > Hi Arkanos, the Stealth system should work just as well for hexagonal grids, so not sure what might be wrong there. When you say completely ignoring walls and tiles what do you mean?
> 
> I meant that there was no interaction between the units and the blocking tiles, like if the CoverSystem was not working at all. Sorry to mix both components in the same sentence. I have read it again and it’s kind of misleading.
> 
> I will double check on the Stealth system and try to understand why it is not working as intended.
> 
> > [@](#):
> >
> > For having the cover system work on a hexagonal grid, one of the devs on the ATBTT Discord channel recently got it working. I recommend hitting up kiltedfrog on the Discord (link to Discord on the ATBTT store page) to see what changes they made.
> 
> Yup, we are already having a little chat and has helped me with some tricks and hacks 😃
> 
> Thanks for your time!

Ok, great! Let me know if you need any input.

---

<div class="post-metadata">

**Author:** ![ser.man94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ser.man94](https://forums.unrealengine.com/u/ser.man94)\
**Post date:** [July 12, 2021, 10:54pm UTC](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930/3908 "2021-07-12T22:54:28Z")

</div>

good day. it is posible tu use Blueprint in puppets? i have the aset of units but they are in blueprint.

> **[2021-07-12 13-56-44.mkv (video)](https://drive.google.com/file/d/1f7QlAIO3PSigAy2PCSHwjw0EhHyIyUHH/view?usp=sharing)**
>
> Google Drive file.

[Previous page](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930.md?page=189)

[Next page](https://forums.unrealengine.com/t/support-advanced-turn-based-tile-toolkit/21930.md?page=191)
