xmoonproductions.org https://xmoonproductions.org/ |
|
some function questions https://xmoonproductions.org/viewtopic.php?f=28&t=5101 |
Page 1 of 1 |
Author: | enkephalin07 [ Fri May 26, 2017 5:39 pm ] |
Post subject: | some function questions |
I understand from this (in "init/std/base/char/brain/code/run/state.dat"): Code: // State: // This will add new tasks and makes sure the story // is processed // the state_run is specific for the story and needs overide loc.res = state_run(); [loc.res] return; That the function definition "<*state_run>" in the character's run.dat would be the override. Is there any way to run the previous definition from within it? In this case the original function looks intended to be a placeholder, but it can be useful to have a standard collection of states that could be expanded in individual characters, or individual mains. And what exactly is going on here? (in "init/std/base/char/brain/code/event/base_event.dat", <base_event_get_state_ref>): Code: [event.par != null] &<*loc.rs>(event.par); else &<*loc.rs>(); |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |