8,452
edits
Paradox-01 (talk | contribs) (some untested BSL code to manage object groups, my only worry is that some simultaneous hiding/unhinding will make objects 'flash' for a moment) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 367: | Line 367: | ||
https://dl.dropboxusercontent.com/u/139715/OniGalore/TV_triggered_env_show.png | https://dl.dropboxusercontent.com/u/139715/OniGalore/TV_triggered_env_show.png | ||
If the objects appear to ''flash'' we could replace the hide_all_object_groups function with individual TV exit functions. | |||
func hide_all_object_groups | func hide_all_object_groups | ||
Line 378: | Line 379: | ||
} | } | ||
func show_object_group (int | func show_object_group (int grpA, int grpB, int grpC, int grpD, int grpE, int grpF, int grpG, int grpH) | ||
{ | { | ||
env_show ( | env_show (grpA, 1) | ||
env_show ( | env_show (grpB, 1) | ||
env_show ( | env_show (grpC, 1) | ||
env_show ( | env_show (grpD, 1) | ||
env_show ( | env_show (grpE, 1) | ||
env_show ( | env_show (grpF, 1) | ||
env_show ( | env_show (grpG, 1) | ||
env_show ( | env_show (grpH, 1) | ||
# if user uses 0 he must place it as first argument | # if user uses 0 he must place it as first argument | ||
Line 393: | Line 394: | ||
# are taken to be 0, so we must take care of unwanted zeros | # are taken to be 0, so we must take care of unwanted zeros | ||
if ( | if (grpG eq 0) and (grpH eq 0) | ||
{ | { | ||
# hide 0 | # hide 0 group | ||
env_show (0, 0) | env_show (0, 0) | ||
} | } |
edits