You will probably have to completely destroy the interaction and
rebuild it whenever you want to change its visibility.
That's just a guess from comments in gInterC.def.
-Ed-
Date: Mon, 16 Dec 1996 19:57:43 -0500
X-Sender: edwdig@bergen.org
X-Mailer: Windows Eudora Pro Version 2.2 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
From: "Edward Di Geronimo Jr." <edwdig@bergen.org>
Sender: owner-geos-dev@lifelike.com
Precedence: bulk
Hi,
I sent a message last night about using MSG_GEN_INTERACTION_SET_VISIBILITY
and TYPE. After further examination, GEOS is just ignoring the change and
resetting the value back to GIT_ORGANIZATIONAL & GIV_SUBGROUP. I tried using
the messages and also dereferencing a pointer to the object and changing the
instance data, but either way GEOS would reset it before setting the object
usable.
optr curobj;
GenInteractionInstance *objp;
@call curobj::MSG_GEN_SET_NOT_USABLE(VUM_NOW);
/* Uncomment and comment out the next @call */
/* objp = ObjDerefGen(curobj);
objp->GII_visibility = selection;*/
@call curobj::MSG_GEN_INTERACTION_SET_VISIBILITY(selection);
@call curobj::MSG_GEN_SET_USABLE(VUM_NOW);
Can it be done?
------------------------------------------------------------------------
| I've always been afraid to die, but I think I'm more afraid to live. |
| -Billy Corgan, Smashing Pumpkins, The Aeroplane Flys High |
------------------------------------------------------------------------
| Edward Di Geronimo Jr. edwdig@bergen.org |
------------------------------------------------------------------------