Changing AI parameters in events
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.
- Mathemagician
- Posts: 39
- Joined: March 24th, 2008, 10:42 pm
- Location: Right behind you
Changing AI parameters in events
I have the following code in a
I'd like to remove that restriction in an event, but I can't see how to put
[side]
tag:Code: Select all
[ai]
[avoid]
terrain="Ww"
[/avoid]
[/ai]
[ai]
tags in an event, or how to direct it to the correct side if I could. Anyone have any ideas?Formerly NeoPhile
Re: Changing AI parameters in events
Hi — the information you need is given on this wiki page, section "Modifying Standard Aspects". There is even an example for the
[avoid]
aspect on there. It's for adding the aspect, but hopefully it will be clear enough how to remove it (which is shown for a different aspect earlier in the same section).SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
- Mathemagician
- Posts: 39
- Joined: March 24th, 2008, 10:42 pm
- Location: Right behind you
Re: Changing AI parameters in events
Thanks mattsc! I was looking at AiWML and Wesnoth_AI for that, didn't see it anywhere.
Formerly NeoPhile