Question about Lua code.
How to differ D2k Building from vehicle? In general?
I can write detailand so on.
I would like to found more general solution.
If object is Building then ...
If object is Vehicle then ...
---
P.S. Or maybe an unique property?
How to differ D2k Building from vehicle? In general?
I can write detail
CODE:
actor.Type ~= "wind_trap"actor.Type ~= "palace"actor.Type ~= "wall"
I would like to found more general solution.
If object is Building then ...
If object is Vehicle then ...
---
P.S. Or maybe an unique property?
Statistics: Posted by Adrian — Tue Feb 04, 2025 10:50 pm — Replies 2 — Views 65