Because ent_for_name returns an ENTITY* not a var.
You need to change the ent_for_name line to
ENTITY* x = ent_for_name("Start_Pos");
Then the IF line will work fine.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial