"Cast To X" vs "Cast To X Class" - difference?

I’ve moved from 4.4 to 4.6 and now every “Cast to” has two options per class, for example:

Cast To Weapon | Cast To Weapon Class

Cast To Monster | Cast To Monster Class

etc.
What’s the difference between them?

The first one will cast your input to a reference that already exists while the second cast to its type.

The difference between them is that an Object Reference type is placed somewhere in the level (it has already been created at the time the cast is called), while the class version does not yet exist.

Zak gives a really good explanation of this in the following video:


Hope that helps!

EDIT: Tensa beat me too it :slight_smile:

Japanese Translation

feels proud for being translated into Japanese :smiley: