Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Object class Created()

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Object class Created()

    I note that the Created() function is now missing from the Object class in UT3.

    Is there any replacement or do I have to resort to manually calling an Init function when instances are created?

    I suppose there is also the auto state option but I have no idea if that is reliable to be called as an initialisation function.

  • #2
    The auto state is handled in Actor.SetInitialState(), which is called after PostBeginPlay(), so it's not available to non-Actor objects either. You will have to create and manually call your own initialization function.
    I guess the reason for Created() to be removed is that UE3 uses non-Actor objects a lot more than previous engine generations. Attempting to automatically call an UnrealScript event for every new object probably was a performance issue.

    Comment


    • #3
      Thanks, that's fair enough

      Comment

      Working...
      X