I’m using variables for archetypes to spawn items and pawns, but their values can only set in the default properties, I can’t modify them during the gameplay.
This is what I have:
var archetype Pawn Compa;
and in the default properties:
to spawn it:
EP = spawn(Compa.class,Location, , Compa);
all working fine.
But when I try to change the value of the “Compa” var with this:
the engine return this error: "Error, bad or missing expression for token: NPC, in ‘=’
There is some way to do this, some “set” command or something similar?