MantisBT - Liberty Unleashed
View Issue Details
0000090Liberty UnleashedScript Problempublic2014-08-04 08:332014-08-04 08:34
Vortrex 
Juppi 
normalminoralways
assignedopen 
Windows8.18.1 Update 1
0.1.0.14 
 
0000090: ScreenPosToWorld Problem
ScreenPosToWorld doesn't return a usable vector. It returns a Vector as expected but with invalid object values in it.
Use the ScreenPosToWorld function in any client script and provide a VectorScreen object as the only argument with a screen X and Y coordinate.

Optional:
Output the Vector as a string to verify.
Each object inside the Vector returned is the same.
Other Vector string outputs return each object's value with a non-breaking white space delimite, however this one returns differently.

A string output of one of the objects is: 1.#QNAN
A string output of the entire Vector would be "1.#R 1.#R 1.#R"

The screen coordinates used were:
VectorScreen( ScreenWidth / 2 , ScreenHeight / 2 )
That should effectively get the middle of the screen.
ScreenWidth and ScreenHeight are also correct per the screen tested.

It should be noted that when using typeof with the returned Vector, it reads "Vector".
No tags attached.
Issue History
2014-08-04 08:33VortrexNew Issue
2014-08-04 08:33VortrexStatusnew => assigned
2014-08-04 08:33VortrexAssigned To => Juppi

There are no notes attached to this issue.