GetPlayerEntity()->SetBoundingSphere(5.0f) Invalid command. CEntity* p = GetPlayerEntity(); p->SetBoundingSphere(5.0f) Command executed.Each line is a string of statements I entered through my game''s console window and were executed using ExecuteString. When I pass the ExecuteString method I specify the output function, but I don''t ever see any error output. If I put the first command into a script file and then load it at init time, then AngelScript spits out is this:
Building... Compiling function ''config'' in "scripts\config.script" Error : (25, 19) Not a valid referenceShould function chaining work, or is it not supported? Should I be seeing output from ExecuteString, or does it not output the same stuff as when script normally get compiled?