- added a 'DefaultStateUsage' property so that this setting can be properly set up for the classes that can inject states into other actors.
This commit is contained in:
parent
a8e2f4d539
commit
384f4fe7ce
6 changed files with 49 additions and 28 deletions
|
|
@ -533,6 +533,15 @@ DEFINE_PROPERTY(skip_super, 0, Actor)
|
|||
ResetBaggage (&bag, RUNTIME_CLASS(AActor));
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
// for internal use only - please do not document!
|
||||
//==========================================================================
|
||||
DEFINE_PROPERTY(defaultstateusage, I, Actor)
|
||||
{
|
||||
PROP_INT_PARM(use, 0);
|
||||
static_cast<PClassActor*>(bag.Info)->DefaultStateUsage = use;
|
||||
|
||||
}
|
||||
//==========================================================================
|
||||
//
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue