Hello everyone. I'm trying to improve the framerate of my map and the reliability of my map's triggers by eliminating as many trigger errors as possible. Here's problem #1:
Error: "Trigger Error in 'gt_ControlShip_Func': Could not get 'p2' from parameter in 'DistanceBetweenPoints' (value: 0)"
Mmm, no, the structs were fine. I figured it out. The problem was that I wasn't initiating a break once the distance between points function returned true. Silly me :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello everyone. I'm trying to improve the framerate of my map and the reliability of my map's triggers by eliminating as many trigger errors as possible. Here's problem #1:
Error: "Trigger Error in 'gt_ControlShip_Func': Could not get 'p2' from parameter in 'DistanceBetweenPoints' (value: 0)"
Code:
As far as I can tell the map seems to operate fine with the current trigger but it still generates this error 6 times. Any ideas?
are you sure your structs are initialized? "Point.Scout Control[Point ID]" may be null.
Mmm, no, the structs were fine. I figured it out. The problem was that I wasn't initiating a break once the distance between points function returned true. Silly me :)