In C-Script, "pos" was a term used to reference the position vector of an entity. It is no longer valid in Lite-C, but you can get the same results by writing:
Code:
vec_set(temp,my.x);


Note that "temp" is no longer a predefined variable in Lite-C. You must define it yourself in your own script, and it cannot be used for multiple purposes. If you need to use the "temp" variable as a vector, declare it as one like this:
Code:
VECTOR temp;


or if you need to use it as a float, declare it like this:
Code:
float temp;


But as with any variable, temp cannot be redefined multiple times throughout a script.


Eats commas for breakfast.

Play Barony: Cursed Edition!