error deprecation: unit.side has been deprecated - query
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
- Celtic_Minstrel
- Developer
- Posts: 2222
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: error deprecation: unit.side has been deprecated - query
It looks like you can use
(If you don't have a
{AI_CA_SPREAD_POISON}
instead, which will cause similar behaviour but without using deprecated code… and if you're using the default AI, it's already included, so you can remove the line entirely.(If you don't have a
[stage]
tag in your [ai]
, you're using the default AI.)- Spannerbag
- Posts: 535
- Joined: December 18th, 2016, 6:14 pm
- Location: Yes
Re: error deprecation: unit.side has been deprecated - query
Heh, always happy to delete stuff.Celtic_Minstrel wrote: ↑June 29th, 2022, 2:00 am It looks like you can use{AI_CA_SPREAD_POISON}
instead, which will cause similar behaviour but without using deprecated code… and if you're using the default AI, it's already included, so you can remove the line entirely.
(If you don't have a[stage]
tag in your[ai]
, you're using the default AI.)
Thanks for the heads-up, didn't realise a) I was using deprecated code and b) the behaviour I wanted is now baked in.
I find it hard to keep up sometimes...
Thanks again,
cheers,
-- Spannerbag