HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Light post vision enhancement

02-19-2005, 12:42 PM#1
Guest
How could I make it so if a unit come close enough to a light post that unit gets a sight bonus? I want this to be able to work for multiple players at once.
02-19-2005, 12:58 PM#2
Taur
umm you mean he can see more only while he is near the post?
02-19-2005, 02:06 PM#3
Guest
Yes, that is exactly what I mean.
02-19-2005, 02:14 PM#4
Taur
even when he is not near it can the light post still provide sight?
02-19-2005, 03:11 PM#5
Guest
No, only when he is within a certain range of the light post do i want him to see what the lightpost 'sees'
02-19-2005, 05:04 PM#6
Taur
umm make a trigger that says when a unit comes within range of the lam post, create a visiblity modifier, spanning i dunno 2000? then set it to a varibale then create another trigger that qhwn he leaves that variable visbility modifier is destroyed
02-19-2005, 05:17 PM#7
Guest
alright that sounds good, i will try it.
02-19-2005, 05:18 PM#8
Guest
it works! and i gave you some rep bc you deserve it :)
02-19-2005, 06:36 PM#9
Metal_Sonic64
To make it easier you could just make the lamp post a rescuable unit that provides a high line of sight, then make a trigger if a unit leaves region XX, give lamp post to player XX
02-19-2005, 11:15 PM#10
Guest
Yeah that would do it too but even simpler make a region and unit enters regioin you can do that extended line of sight thing and then when the unit leaves stop the vision.