My program doesn't have bugs. It just develops random features.

Legacy talk:SpawnNotify

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 16:40, 2 October 2015 by Wormbo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to get it work[edit]

It took me some time to find out that a SpawnNotify has to be spawned from somewhere to get it work. Maybe it could be mentioned in the article. --SeriousBarbie (talk) 12:58, 2 October 2015 (EDT)

There's really nothing special about it. You spawn it and it auto-registers itself in its PostBeginPlay(). In other words, all you need to do is implement SpawnNotification() in your subclass and specify an ActorClass to receive notifications for. The fact that you have to spawn it should be obvious from the fact that other things are somehow specified as well. You almost never write code and it somehow takes effect automagically, it's always registered somehow somewhere. —Wormbo 16:40, 2 October 2015 (EDT)