-
December 05, 2011, 02:43 PM
#1
Campidoctor
Help with script needed
Is there a possible to check if any leader is in capital city? I checked dokumentdemos but i only found the only condition that checks whether a specific general is in a certain place.
-
December 05, 2011, 04:31 PM
#2
Re: Help with script needed
---------------------------------------------------
Identifier: DistanceCapital
Trigger requirements: character_record
Parameters: logic token, level
Sample use: DistanceCapital >= 40
Description: Does the characters distance to the faction capital exceed the given threshold?
Battle or Strat: Strat
Class: CHARACTER_DISTANCE_CAPITAL
Implemented: Yes
Author: ScottL
---------------------------------------------------
monitor_event CharacterTurnStart IsFactionLeader
and DistanceCapital 0
do stuff
end_monitor
Last edited by Taiji; December 05, 2011 at 04:34 PM.
-
December 06, 2011, 02:33 AM
#3
-
December 06, 2011, 01:16 PM
#4
Re: Help with script needed
You're welcome. Not sure I follow you with 'feel scripts', what do you mean?
-
December 06, 2011, 01:44 PM
#5
Campidoctor
-
December 08, 2011, 09:23 AM
#6
Re: Help with script needed
Hmmm, I think that doesn't exist...
We can only answer questions we know the answer to.
And we only get to know the answer by understanding stuff that we know works.
If it looks like I have a feel for it then it's only because I've done a lot of research
-
December 08, 2011, 02:33 PM
#7
Campidoctor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules