Jump to content


LastKingAragorn

Member Since 17 Jun 2023
Offline Last Active Sep 24 2023 01:50 PM

Posts I've Made

In Topic: Making an upgradable battle tower 😉

29 June 2023 - 07:28 PM

Hi Lauri,

Firstly thank you so much for your reply.
I hope Google translated it correctly 😁

I have tried these methods before. It came up with problems that I couldn't handle.

I couldn't solve these two problems that are very important to me;

When I replace the a parent object with "ReplaceSelfUpgrade" the damaged tower is renewed and the units inside are completely destroyed... Imagine that, you expect the army to do better, but it disappears 😁

I tried the same thing with child object instead of parent object. Almost similar problems occurred. I am not experienced enough to solve all these problems.

As you said, many negative situations occur. I solved some of these, but not all. But I think you are really experienced. Because your predictions are really accurate 👍🏻

If there is no better way to do this, I'll give up and I change my scenario. Thank you so much again 🙏

In Topic: Making an upgradable battle tower 😉

21 June 2023 - 10:13 AM

So there is no way

In Topic: Understanding Subobjects

17 June 2023 - 12:45 PM

Hi ROTWK fans and masters,

First of all, sorry for my bad English. I need a little help. Thank you very much for your support.

I made a battle tower with an upgrade button. Vision range, health etc changes after upgrades. Everything works fine no problem.

Well, is there a way to change the value of "ContainMax" in class "HordeGarrisonContain" via upgrade. For example, only 1 units can enter to battle tower at the beginning. After the upgrade, 2 units can enter at the level2.

So like this;

// Before upgrade *****
Behavior = HordeGarrisonContain ModuleTag_HordeGarrison

ContainMax = 1 ;As default

End

// After upgrade *****
Behavior = HordeGarrisonContain ModuleTag_HordeGarrison_LEVEL2

ContainMax = 2 ;Modified

End

Is it possible to do this? Thank you for your help.