first, glad you cot the collision working. Though you don’t really need to add a new sphere. All you need to make sure is that at least one of the puppet’s component that has collision geometry overlaps the correct channels and has Query collision enabled as well as generate overlap events enabled.
As for the spring arm, you also need to change the ZoomRoof and ZoomFloor variables in BP_GridCamera. For the start location of the camera (I’m assuming you’re using the HoMM camera) you should be able to simply move the PlayerStart actor in the scene
It depends a lot on your game, really. For my own projects I code the saving and loading myself without using any particular plugin. What is it you need to save or load?
Sorry, I’m afraid I don’t understand the question. Could you describe it in a different way?
Give this ability to one of your ranged units and set its CurrentAP and MaxAP to 2. Set bUseEndsTurn in this ability to false. See if it gives you the result you want.
i have the question i have simple comand to set camera location and actor location after i load the level what is need to add for the variablei? i save the actor location and camera location and it work for simle object.
Ok, so a few different questions now. I’ll try my best to answer.
For setting the location of the GridCamera my suggestion is to remove the part of the code in BeginPlay of that sets its location. Then you can simply add a PlayerStart actor to the map and the camera will start at that location.
As for the ranged attack code I sent you, I think I sent you all you need. Did you remember to disable bUseEndsTurn, set the unit’s AP to 2 and assign the new ability to the unit?
bUseEndsTurn yes but the unit range attack 2 times no return atack
camera position and player position are saved before load other map and afte load level bac the unit and camera location are not load.
i need 2 attak and 2 shoot but is need to return attack after first atack
hi, I’m sorry but there are so many different things you want at once that I’m struggling to keep it all straight in my head. Could you join the Discord so that we can chat there? Then we can talk back and forth and it might be easier for me to understand.
I just have a quick question which I understand is a very frequently asked question, but I still couldn’t clear up my confusion after searching the forum and discord.
So, I’m trying to spawn units at runtime at spawn points.
Hi ShinyTessaract, been a while! This is a known issue and I will be including a fix in my next update. I’m planning to make a solution that is a bit cleaner, but until then this is a patch job that should get the job done and not cause any issues:
Yeah, I’ve been mainly working on building a roster/inventory system from the ground up for the last couple of months. Now it’s finally time to link that up with the grid units. But also, I managed to figure out most grid things I was attempting by myself (I got a Zone of Control working!); I try very hard not to bother you unnecessarily. =)
HandleUnitSpawning will run automatically when you spawn a unit as it is part of BP_Unit’s construction script.
Ahh okay, awesome, that clears my confusion up too!
Great to hear you’re making progress! Don’t feel bad about asking if you get stuck on anything, though. In moderate amounts I actually enjoy providing support and figuring out solutions to stuff.