I am wondering how exactly ZScript works with pointers in terms of type casting and pointers.
This is how an actor pointer would be type casted in ZScript
Code: Select all
SomeClassThing classThing;
classThing = SomeClassThing( actorPointer );
Code: Select all
classThing.member++;
If it is a local copy, is there any way to write to the original class instance and its members?
I've seen this syntax around, which I thought indicates that it is a class pointer, but I do not know how to use it ( in terms of 'dereferencing' it and writing to its members ).
Code: Select all
Class< SomeClassThing > classThingPtr;