[ian-reeds-games] Re: a few things, ai wait, tile cursing etc

  • From: "Allan Thompson" <allan1.thompson@xxxxxxx>
  • To: <ian-reeds-games@xxxxxxxxxxxxx>
  • Date: Wed, 13 Mar 2013 10:29:10 -0400

Hi Richard,
I am not sure what to do about the tile thing. I just looked and the map 
creation guide did mention that the ai_tile_curse thing was specifically for 
attacking the tile under an enemy unit.

If it it is a summon kind of thing, maybe terrain _limit= might help? I found 
that in that flag, a summoned unit can  only be summoned ont he terrain it is 
limited too. 
If it is a tile effectthen I am not sure. 

As for the units with the wait flag, you would probably have to  copy the unit, 
and either put the " // " marks in front of that particular flag in the copy, 
or just take it out all together. If you use the double slashes it is best if 
the flags are one per line so that it will only cancel out that one flag.

al


"The truth will set you free"
Jesus Christ of Nazareth 33A.D.
  ----- Original Message ----- 
  From: Richard Claridge 
  To: ian-reeds-games 
  Sent: Wednesday, March 13, 2013 6:00 AM
  Subject: [ian-reeds-games] a few things, ai wait, tile cursing etc


  Hi all.
  I was just wondering if its possible to have the ai not attack until
  you are in sight on a particular map but not on others.
  I know there is the ai_wait_until_enemy_in_sight flag or what ever its
  called, I haven't got the user guide open atm and can't be bothered to
  check to confirm, but that flag is used on units. So if I set it then
  it would apply on all maps.
  Is there a way to make it work only on one map, or do I have to go
  about it the route whereby I create specific units for that one map
  that have this flag?
  I did have one other question as well, I have an skill that both
  player and ai can do, but the ai just won't use it properly. Its a
  sort of tile curse i guess but has to be done on empty tiles not tiles
  with units on. The ai keeps trying to do it on a tile with units on
  and it says theres an error or bug with the ai. We could do with
  something like an ai_empty_tile_curse to go as an alternative to the
  ai_tile_curse if thats at all possible Ian, or is there a way I can do
  it at the moment.
  And finally, there is the enemy and friendly flags for skills or
  effects, I can't remember which, that can only be done on enemy or
  friendly units, it would be good to have a third for units that are
  neither friendly or enemy, neutral I guess if thats possible.
  I hope that all makes sense.
  Thanks guys for any help.
  Richard

Other related posts: