dim3 Forum

Full Version: Event questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What are
Code:
DIM3_EVENT_MOVE
DIM3_EVENT_WEAPON_FIRE_UP
DIM3_EVENT_WEAPON_FIRE_DOWN
DIM3_EVENT_ADD_CUSTOM
DIM3_EVENT_PATH_NODE
?
I think...

Move is called whenever the object moves (starts moving?)
Weapon fire Up and Down might refer to the weapon fire key going up or down...
Path Node might be called whenever the object hits a node in it path walk.

Not sure about the others...
Well, I'd guess that to but I want to know for sure before I start coding them that way Wink.
ccccc Wrote:What are
Code:
DIM3_EVENT_MOVE
DIM3_EVENT_WEAPON_FIRE_UP
DIM3_EVENT_WEAPON_FIRE_DOWN
DIM3_EVENT_ADD_CUSTOM
DIM3_EVENT_PATH_NODE
?

DIM3_EVENT_MOVE is the main event for map movements, you'll get either DIM3_EVENT_MOVE_DONE or DIM3_EVENT_MOVE_LOOP when a map movement finishes or begins another loop.

FIRE_UP and FIRE_DOWN aren't really used much, but tell you when a fire key goes down and a fire key goes up. They are sub events from the main event DIM3_EVENT_WEAPON_FIRE.

DIM3_EVENT_ADD_CUSTOM gets called when you have a pickup item that uses the addCustom command.

DIM3_EVENT_PATH_NODE is the DIM3_EVENT_PATH subevent that gets called when a walk hits another new (this one is brand new in the 2.3 run.)

[>] Brian
Thanks!
Can I use DIM3_EVENT_MOVE in any script or just the course?
ccccc Wrote:Thanks!
Can I use DIM3_EVENT_MOVE in any script or just the course?

If they are movements created in Editor, then they are sent to the course script. If you launch them in a script, they go to the script that launched them.

[>] Brian
Reference URL's