New variables

0 views
Skip to first unread message

ben.m...@gmail.com

unread,
Apr 25, 2008, 2:53:27 AM4/25/08
to VERGE 3 Engine Development
Hey y'all!

I've implemented some new global vc string read/write strings:

trigger.onStep
trigger.afterStep

trigger.beforeEntityScript
trigger.afterEntityScript

if any of these is not empty and is the name of a vc function, that
function will be called at a certain time:

trigger.onStep is called on every step, right before the zone
activation is attempted.
trigger.afterStep is called on every step, right after the zone
activation is attempted.

trigger.beforeEntityScript is called right before any entity's
onActivate script is called.
trigger.afterEntityScript is called right after any entity's
onActivate script is called.

the step ones are useful for dealing with universal walking-related
things like poison effects and decrementing time-to-next-battle
counters.

the entity ones are useful for global entity activation behavior like
making sure menus and tools and stuff can't be used during entity
conversations.

MY QUESTION TO Y'ALL:

Are there other callback functions to other enginecentric things I
should add in?
Reply all
Reply to author
Forward
0 new messages