kimono
Well-known member
Hi, I'm trying to fix some scripts errors like this:
Is it something wrong with this cameraxoffset defining?
Code:
@script
void self = getlocalvar("self");
float x = getentityproperty(self, "x");
float z = getentityproperty(self, "z");
float b = getentityproperty(self, "base");
changeentityproperty(self, "velocity", 0,0,0);
changeentityproperty(self, "position", x,z,b);
changelevelproperty("cameraxoffset", 300);
@end_script
Function changelevelproperty(prop, value) received invalid value(s).
Dumping values: <VT_EMPTY> Unitialized,
Script function 'changelevelproperty' returned an exception, check the manual for details.
parameters: 3, <VT_EMPTY> Unitialized,
********** An Error Occurred **********
* Shutting Down *
There's an exception while executing script 'updateentityscript'
Is it something wrong with this cameraxoffset defining?