|
I can access it via mxs, but not using IGame property methods or the via the Paramblock method in SDK help.
|
|
|
|
finally found a solution, with a doh! funny it doesn’t get picked up by the igame QueryProperty system like the other params
from a max helper object
BoxGizmoObject* gizmo = dynamic_cast<BoxGizmoObject*>(helperObj)
if(gizmo)
int seed = gizmo->pblock->GetInt(PB_BOXGIZMO_SEED,0);
from a mxs scripted plugin “extended” helper object
int numrefs = helperObj->NumRefs();
for(int i=0; i < numrefs;i++) {
ReferenceTarget* ref = helperObj->GetReference(i);
if(ref->ClassID() == Class_ID(0x3bc31904, 0x67d74ec9))
{
BoxGizmoObject* gizmo = dynamic_cast<BoxGizmoObject*>(ref);
if(gizmo)
{
int seed = gizmo->pblock->GetInt(PB_BOXGIZMO_SEED,0);
}
}
}
|
|
|