2014-08-20
04:01 AM
- last edited on
2023-08-01
02:21 PM
by
Doreena Deng
2014-08-21 02:21 PM
API_Element doorElement;
API_DoorRelation doorInfo;
//...
err = ACAPI_Element_GetRelations (doorElement.header.guid, API_ZombieElemID, &doorInfo);
if ((doorInfo.toRoom == myRoom1Element.header.guid && doorInfo.fromRoom == myRoom2Element.header.guid) ||
(doorInfo.toRoom == myRoom2Element.header.guid && doorInfo.fromRoom == myRoom1Element.header.guid)) {
// this door is in the middle of myRoom1Element and myRoom2Element
} 2014-08-27 07:36 AM
2014-09-05 04:18 AM
2014-12-05 11:27 AM
ReignBough wrote:
I started converting my add-on to 18 and found out that the said API_DoorRelation structure does not exist.
2015-04-11 12:23 PM