Login

russian armor

Custom commander in HQ upgrade panel. Help

14 Jul 2018, 15:49 PM
#1
avatar of RageBoy

Posts: 17

I made 3 upgrade in my 3 namely infantry, support and armor divions. My problem is i cant make 2 of them disappear or disable when i choose of the 3.
I tried to use some requirements but dont work.

Anyone got solution to this?

Thanks
14 Jul 2018, 16:44 PM
#2
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

What is the "owner_type" of your upgrades? A requirement to disable them should check for that type of upgrade, like "required_entity_upgrade" or "required_player_upgrade". I recommend in this scenario to use the "owner_type": player.
15 Jul 2018, 07:04 AM
#3
avatar of RageBoy

Posts: 17

Thanks for your help but I got to work. I tried required_not and it worked for all three.
16 Jul 2018, 20:05 PM
#4
avatar of RageBoy

Posts: 17

Got new problem though. 2 of custom commander upgrades disappears when you click one. But when i try to play with th AI. The AI seems to be able to puchase the upgrade giving it 3 commanders in the match at the same time.

Anyone got thoughts on this?
16 Jul 2018, 20:11 PM
#5
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

You probably use "reason": "display". People cannot click non displayed content, but the AI can. Try "usage_and_display" instead.
1 user is browsing this thread: 1 guest

Livestreams

Germany 1

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

666 users are online: 666 guests
1 post in the last 24h
6 posts in the last week
38 posts in the last month
Registered members: 49059
Welcome our newest member, Macnas24
Most online: 2043 users on 29 Oct 2023, 01:04 AM