Page 1 of 1

A new Core build is up. 11-27-2018

Posted: Tue Nov 27, 2018 11:00 pm
by Yukiko
Hot on the heels of the last Core update we have another new Core build. This one adds entered area events to items. Hah! No longer do NPCs have this event! They have been the sole possessor of it long enough!

Thank you Nando!

The latest from the core-changes.txt:

Code: Select all

-- POL100 --
11-27-2018 Nando:
  Added:   Top-level items can now receive ENTEREDAREA and LEFTAREA events.
Get your hot POL cake fresh out of the oven. Drop by our bakery (the Downloads page) and pick-up this delicious desert.

Re: A new Core build is up. 11-27-2018

Posted: Wed Nov 28, 2018 12:04 am
by Ciechu
Could you explain new function, this event for left and enter area? How to handle this? ;)

Thanks.

Re: A new Core build is up. 11-27-2018

Posted: Wed Nov 28, 2018 2:01 am
by Yukiko
It is handled the same way it is handled for NPCs. Look at an NPC AI script, a hostile NPC in particular, and follow the same pattern used in that script.