Results 1 to 4 of 4

Thread: Menu macros with forecolor

  1. #1
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts

    Menu macros with forecolor

    Hey all. I'm trying to use cod2 menu macroses at this moment, but I've got a problem.

    So, I made a macroses for my menu buttons (ingame) - enabled and disables buttons. The difference between they is forecolor (showdvar and hidedvar also, in fact, but it's not important). If somebody doesn't know - with forecolor GLOBAL_DISABLED_COLOR your button looks like disabled. But using macros forecolor doesn't work and I don't know why.

    I made a lot of tests: first of all I replace GLOBAL_DISABLED_COLOR to .35 .35 .35 1 (meaning of that #define). Then I tried to remove all arguments from the macros. And again no solution.

    And I also want to notice that only forecolor doesn't work. No menu error, no button error - I can see the both, but without this f*&#$%g forecolor.

    So, I wanna ask Killtube about it - maybe somebody made it also and can say me, where the problem is.

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    setItemColor "leave" forecolor 0 0 0 0;
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. The Following User Says Thank You to IzNoGoD For This Useful Post:

    Lonsofore (1st June 2017)

  4. #3
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    Quote Originally Posted by IzNoGoD View Post
    setItemColor "leave" forecolor 0 0 0 0;
    Thank you. Is there any way to put it inside macros as default item color?

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Sure, but make sure you set 4 items (incl alpha)
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •