Search the Community
Showing results for tags 'soldiergb'.
Found 1 result
-
Hello, I am working on a new release of my warfare and I have a problem, I wrote here hopefully somebody from forum got same problem and found already a solution I have a check that is based on baseclass, soldierwb/eb/gb, the problem is and I wonder why and how is possible that RHS and CUP did something so stupid: their parent class are based on wrong parent base class. example cup OPFOR Russian are based on soldierWB instead of EB instead of all OPFOR Russia from RHS are based on soldierGB instead of EB, this generate some bug with all the scripts in warfare that use that check, /* Root classes */ westSoldierBaseClass = 'SoldierWB'; eastSoldierBaseClass = 'SoldierEB'; resistanceSoldierBaseClass = 'SoldierGB'; server side script: if ((leader _team) isKindOf westSoldierBaseClass) then {_sideJoined = west}; if ((leader _team) isKindOf eastSoldierBaseClass) then {_sideJoined = east}; I need an alternative way to check if JIP player side (server side script) thanks in advance for any good hint hopefully addon maker will try do use proper base class for soldiers in further updates. Rubber