share_vision doesn't work
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.
share_vision doesn't work
In one of my scenarios, I want a AI faction to share vision with the player. It doesn't work the way I tried, though.
I'm using 1.14, so share_vision should exist. Also the faction is allied to the player. Any help is appreciated.
This is the side definition:
I'm using 1.14, so share_vision should exist. Also the faction is allied to the player. Any help is appreciated.
This is the side definition:
Code: Select all
[side]
side=2
controller=ai
team_name=1
user_team_name= _ "Undead"
#ifdef EASY
type=Hurricane Drake
#else
type=Sky Drake
#endif
id=Manager
name=_"Draken Ressources Manager"
canrecruit=yes
recruit=Drake Burner, Drake Glider
share_vision=all
{GOLD 50 40 30}
{INCOME 5 4 3}
[ai]
recruitment_pattern=scout,archer
passive_leader=yes
[/ai]
[/side]
My campaigns: Princess Nilwyn (available) & Home of the Undead (available)
Re: share_vision doesn't work
Is
team_name=1
for side 1?Re: share_vision doesn't work
Yes, it is. But I think this is necessary anyway, for the faction to be allied to the player.
My campaigns: Princess Nilwyn (available) & Home of the Undead (available)