Difference between revisions of "OBSE Wish List"

9 bytes added ,  18:23, 11 July 2010
m
no edit summary
imported>Moses
m
imported>Moses
m
Line 108: Line 108:
:*If SaveToCalling is true when the called script finishes executing it will set variables with the same name and type within the calling script to match those in the called script. 1 is assumed
:*If SaveToCalling is true when the called script finishes executing it will set variables with the same name and type within the calling script to match those in the called script. 1 is assumed
:*If ResetCalled is set to true then when the called script finishes executing it's variables will be reset to what they were before they were called. 1 is assumed
:*If ResetCalled is set to true then when the called script finishes executing it's variables will be reset to what they were before they were called. 1 is assumed
 
:Like in real programming this function would eliminate a very large amount of redundant code.
Like in real programming this would eliminate a very large amount of redundant code.


*'''GetCollisionTrace''' - Generalized version of [[GetLOS]] to return where collision occurs, rather than a boolean expression of success or failure. Traces a line from a start point to a destination point and returns a two-dimensional array. Each row corresponds to a point where collision with a new object is detected from the start to destination, with four columns: the reference ID of the colliding object, and X,Y,Z coordinates of the collision. If collision is never detected, returns an empty array. Actors are ignored for the collision check if optional parameter ignoreActors is true, defaults to false. If necessary for efficiency, implementation can include a distance between collision checks specified by optional parameter distanceSkip, defaulting to 16 (or some other efficient value).
*'''GetCollisionTrace''' - Generalized version of [[GetLOS]] to return where collision occurs, rather than a boolean expression of success or failure. Traces a line from a start point to a destination point and returns a two-dimensional array. Each row corresponds to a point where collision with a new object is detected from the start to destination, with four columns: the reference ID of the colliding object, and X,Y,Z coordinates of the collision. If collision is never detected, returns an empty array. Actors are ignored for the collision check if optional parameter ignoreActors is true, defaults to false. If necessary for efficiency, implementation can include a distance between collision checks specified by optional parameter distanceSkip, defaulting to 16 (or some other efficient value).
Anonymous user