Page MenuHomeFeedback Tracker

Animal isKindOf "Man" return "true"
Closed, ResolvedPublic

Description

if you check the cursorTarget with isKindOf "Man" and aiming on an animal... true will returned.

Details

Legacy ID
1258016919
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

spawn an Anmail (Goat, chicken)

check the cursortarget with:

cursorTarget isKindOf "Man";

Event Timeline

R34P3R edited Steps To Reproduce. (Show Details)Jul 12 2015, 1:58 AM
R34P3R set Category to Scripting.
R34P3R set Reproducibility to Always.
R34P3R set Severity to None.
R34P3R set Resolution to No Bug.
R34P3R set Legacy ID to 1258016919.May 8 2016, 12:21 PM

That is correct, animals inherit from Man. Not a bug.

R34P3R added a subscriber: R34P3R.May 8 2016, 12:21 PM

Ok thanks.. checked the Wiki: isKindOf "Civilian" will solve my problem.

If you have a scripting problem, I would suggest to ask first on the forums, 99 times of 100 will save you time making a ticket.