Is it possible to create triggers for Valhalla/Castanar cameras so if a unit enters their vision (which isn't constant as they swivel) enemy is alerted to their presence? Sorry for my bad english! Thank you !
Its difficult to do. There is no way to properly "calculate" anything, so you would pretty much have to figure out all the values by hand by testing carefully. The models animation is a pure visual thing connected to its actor.
But yes, in theory it is possible to do. Triggers could periodically check a triangular area within a certain angle of the camera, the angle would change based on game time. Its one of the most pain in the ass things you could ask for though, even for an experienced coder.
On some Blizzard maps a trigger is activated when the camera is near a specific point (creation of nydus worms and camera shaking). Is that what you want?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to create triggers for Valhalla/Castanar cameras so if a unit enters their vision (which isn't constant as they swivel) enemy is alerted to their presence? Sorry for my bad english! Thank you !
@Vauxlient: Go
specify alerted! you can do that with triggers
Thank you for reply, but the camera swivels! So it would not be alert every second, only when the camera was actually viewing the units.
Its difficult to do. There is no way to properly "calculate" anything, so you would pretty much have to figure out all the values by hand by testing carefully. The models animation is a pure visual thing connected to its actor.
But yes, in theory it is possible to do. Triggers could periodically check a triangular area within a certain angle of the camera, the angle would change based on game time. Its one of the most pain in the ass things you could ask for though, even for an experienced coder.
On some Blizzard maps a trigger is activated when the camera is near a specific point (creation of nydus worms and camera shaking). Is that what you want?