Answer the question
In order to leave comments, you need to log in
How would such a condition be implemented in a programming language?
I’m confused with the logic, how will such a condition be implemented in any popular language? (as an example) I, in turn, need to implement this on papyrus, but I think it’s unlikely that anyone knows this language, although ...
We have n objects, the user selects one of the objects, there is a check that this object has another object of a given type, if there is such an object, then display a message to the user.
I can’t understand how to check not for a specific object, but for the type of objects
Answer the question
In order to leave comments, you need to log in
typeof
, or an analogue
of type checking, if I understand correctly
, it is important to understand what you mean by the concept of "object type"
If Object[user_chosen].Object.Type = That_else_type then Say("Oops!")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question