Page MenuHomeFeedback Tracker

Land_i_House_Big_01_V1_F, Land_i_House_Big_01_V2_F,Land_i_House_Big_01_V3_F, are all kind of Land_i_House_Big_01_V1_F
New, WishlistPublic

Description

So when using isKindOf "Land_i_House_Big_01_V1_F" it'll return true if it is Land_i_House_Big_01_V1_F, Land_i_House_Big_01_V2_F,Or Land_i_House_Big_01_V3_F.
However isKindOf "Land_i_House_Big_01_V2_F" will only return true if it is Land_i_House_Big_01_V2_F.

Details

Legacy ID
1249064197
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

_house = nearestObject [position player, "Land_i_House_Big_01_V2_F"];
If ( (_house isKindOf "Land_i_House_Big_01_V1_F") ) then {
hint format[%1 is kind of "Land_i_House_Big_01_V1_F",(typeOf _house)];
};

Event Timeline

mcrow900 edited Steps To Reproduce. (Show Details)Dec 2 2014, 10:40 PM
mcrow900 edited Additional Information. (Show Details)
mcrow900 set Category to Scripting.
mcrow900 set Reproducibility to Always.
mcrow900 set Severity to None.
mcrow900 set Resolution to Open.
mcrow900 set Legacy ID to 1249064197.May 7 2016, 7:55 PM