This object is in archive! 
Event Controller should be able to react to angle equals x (without greater or smaller than)
Not Enough Votes
I have an automated solar panel on one of my ships.
I would like to be able to reset it to 180° for landing the ship.
To do that, I would need to deactivate the corresponding turret controller and start rotating the solar panel. Then I would deactivate the rotor, once it is at 180°. Since the rotor could be above or below 180° before I start this process, I don't know which way of rotation is the shortest. No worry I thought, I just pick one direction and wait until it is at 180°, maybe it won't be optimal, but it will work.
Nope, I can't do that with the event controller, since it reacts to angle >= or <=, not ==.
Without a custom script, I can't solve this task
Note, under the hood it will practically never satisfy the == 180° condition. In practice, it'll be some 179.899999999996 or something, At best, it could satisfy being == 180° (as in, 180.00000000…0°) only after some rounding. And that custom script you mentioned would have to do this rounding, too.
Not slamming your request, not at all. People have been wanting the setting of explicit numerical values for toolbar actions for ages. Just saying that even a custom script would have to account for how physics is simulated and how it isn't automatically a panacea for all its ailments.
Note, under the hood it will practically never satisfy the == 180° condition. In practice, it'll be some 179.899999999996 or something, At best, it could satisfy being == 180° (as in, 180.00000000…0°) only after some rounding. And that custom script you mentioned would have to do this rounding, too.
Not slamming your request, not at all. People have been wanting the setting of explicit numerical values for toolbar actions for ages. Just saying that even a custom script would have to account for how physics is simulated and how it isn't automatically a panacea for all its ailments.
should be able to react to many other things as well as detect when it's false. For some reason there isn't even an event for an AI block locking a target.
should be able to react to many other things as well as detect when it's false. For some reason there isn't even an event for an AI block locking a target.
Replies have been locked on this page!