Jump to content

Hidden Potential,abilities and Component Game States


Deleted32045420User

Recommended Posts

yeah the title is kinda bombastic i know but it's a short for everything i am having trouble with.

 

Now first thing first when i am resetting a soldier's class and then rank him up through Unit.RankUpSoldier it wont give him the basic ability until i get out of the promotion screen and back in, if i dont do that the soldier will remain without his new base perk.

 

Commander's Choice code

 

  Reveal hidden contents

 

 

another problem i have is with the ComponentGameState not being read until i get out of the promotion screen and back in, i guess it's all around the same line of problem which will be solved with the same fix but i cant seem to find it

 

Main Hidden Potential Code for init.

 

  Reveal hidden contents

 

 

Rest of Hidden Potential code (mostly getting the actual stats)

 

  Reveal hidden contents

 

 

Actual Object i am adding to the unit as a component:

 

  Reveal hidden contents

 

 

Thanks in advance for your help, EladDv

Edited by Guest
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...