Jump to content


Photo

Giving random weapons to hordes

show/hide weapons subobjects

  • Please log in to reply
2 replies to this topic

#1 Felipe Roll-st

Felipe Roll-st
  • Members
  • 62 posts

Posted 15 November 2018 - 06:39 AM

Hi, I have some models and they have attached two weapons in it, I want to randomize the weapons when the horde is created but the hide/show code won't work for this one I think, can anyone suggest me what I could do, I red another similar topic but you had to mess with LUA and don't know much about that kind of coding. thanks heaps.



#2 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 461 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

Posted 16 November 2018 - 09:16 AM

You need LUA, yes.


2qm3dd5.jpg


#3 Felipe Roll-st

Felipe Roll-st
  • Members
  • 62 posts

Posted 17 November 2018 - 01:27 AM

knowing that I better start learning how to code LUA, thanks silverbane, I'll have a look at some tutorials, I have some other problems with my mod perhaps you could help me, one is despite I'm putting like 8 different textures for the horde to use, it keeps using 2 only, the first and second one in the code and ignores the rest, why is that? and also I've got two heroes that their hero portrait isn't showed in the palantir, it remains in black, the asset is ok because the HI is shown, it's only the HP the troubled one :/






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users