dabber's questions: vision to location
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Re: dabber's questions: vision to location
I don't see a way to use [filter_vision] to detect being able to see a specific location.
But I shouldn't post questions at 3am. Spotting a unit is much easier to figure out after sleeping.
Code:
But I shouldn't post questions at 3am. Spotting a unit is much easier to figure out after sleeping.
Code:
Spoiler:
Re: dabber's questions: vision to location
Thanks gnombat. I was definitely not going to figure that out on my own.
Code for reference:
Code for reference:
Spoiler:
- lhybrideur
- Posts: 379
- Joined: July 9th, 2019, 1:46 pm
Re: dabber's questions: vision to location
Interesting. However I would use a enter_hex instead of move_to.
What I did in my campaign is putting a random unit there, and use a sighted event that kills the unit at its beginning.
I will probably replace it with that piece of code.
What I did in my campaign is putting a random unit there, and use a sighted event that kills the unit at its beginning.
I will probably replace it with that piece of code.