skill data issue Created 1 year ago2018-09-06 23:08:24 UTC by Cabo Fiambre Cabo Fiambre

Created 1 year ago2018-09-06 23:08:24 UTC by Cabo Fiambre Cabo Fiambre

Posted 1 year ago2018-09-06 23:08:24 UTC Post #340804
So i'm trying to add a zombie barney into my mod but i'm having an issue with this because i'm having the next error: " 'zombiebarneyHealth' is not a member of 'skilldata_t' ", i find this really strange because i've alreday added the skill health into "game.cpp" and "gamerules.cpp" so this error shouldn't appear.
Can someone give me a hand with this?
Posted 1 year ago2018-09-07 07:24:25 UTC Post #340806
You also need to add new variables to the skilldata_t data structure. Gamerules will copy the values from cvars into this structure, which game code will then use.
Posted 1 year ago2018-09-07 11:56:38 UTC Post #340808
You mean skill.cfg?
Posted 1 year ago2018-09-07 12:11:49 UTC Post #340809
Posted 1 year ago2018-09-07 16:00:42 UTC Post #340811
I got it! Many thanks! I've missed that one
You must be logged in to post a response.