Results 1 to 16 of 16

Thread: how to use world_is_round event?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default how to use world_is_round event?

    I would like to use world_is_roud event as a condition to recruit some of units. I made it, but the game is screaming me "unexpected in condition parsing: ˙event_counter˙".
    I don't know if i made any lapse or ther simply is not possible to use in EDB world_is_round event
    my entry in edb looks like this:

    recruit_pool "Conquistadores" 1 0.02 2 0 requires factions { spain, portugal, } and event_counter world_is_round and hidden_resource america and event_counter plate_event 1 and region_religion catholic 75

  2. #2

    Default Re: how to use world_is_round event?

    and event_counter world_is_round and hidden_resource america
    ^This and my question why?

  3. #3

    Default Re: how to use world_is_round event?

    what why?

  4. #4

    Default Re: how to use world_is_round event?

    ach. I understand I simply want to recruit this units in America and in Spain only So i have to make two entrys: first for america and second for Spain

  5. #5

  6. #6

    Default Re: how to use world_is_round event?

    yeah. I know. according to this precisly entry it doesn't make sens but take in your consideration that i have to rework some thausents of entries and there is much more easier to use entries simulare ith other. Therefore i'm not positivistic radical and i'm tolerating a little illogical entries like this one
    So espetially for you the same, but much more logical:

    recruit_pool "Conquistadores" 1 0.02 2 0 requires factions { spain, portugal, } and event_counter world_is_round and hidden_resource hiszp and event_counter plate_event 1 and region_religion catholic 75

  7. #7
    Bela's Avatar Ducenarius
    Join Date
    May 2009
    Location
    The land of the crazy folk
    Posts
    947

    Default Re: how to use world_is_round event?

    attyla, did you try this: event_counter world_is_round 1?
    "No Rest until the Blood of Greenskins flows like Dark Ale upon the Earth!"

    +++ Josef Bugman +++




  8. #8

    Default Re: how to use world_is_round event?

    You are getting the point first u are using two conditions which are pointless and second there needs to be 1(true) or 0(false) to make the event_counter run.

  9. #9
    Bela's Avatar Ducenarius
    Join Date
    May 2009
    Location
    The land of the crazy folk
    Posts
    947

    Default Re: how to use world_is_round event?

    Quote Originally Posted by Ishan View Post
    there needs to be 1(true) or 0(false) to make the event_counter run.
    Thank you Ishan, this is what I wanted to say in my previous post!
    "No Rest until the Blood of Greenskins flows like Dark Ale upon the Earth!"

    +++ Josef Bugman +++




  10. #10

    Default Re: how to use world_is_round event?

    i don't get you. You are trying to explain me that using two conditions for one unit i make crasching of the game? It's not true. This entry make the same effect, when i erase all conditionions exept world_is_round event.
    So it doesn't work even the line looks like this:

    recruit_pool "Conquistadores" 1 0.02 2 0 requires factions { spain, portugal, } and event_counter world_is_round and region_religion catholic 75
    OK i found the resolve: i simply must change the order in this line and all works properly:

    recruit_pool "Conquistadores" 1 0.02 2 0 requires factions { spain, portugal, } and hidden_resource hiszp and event_counter plate_event 1 and region_religion catholic 75 and event_counter world_is_round
    Last edited by attyla; October 11, 2010 at 04:03 AM.

  11. #11
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: how to use world_is_round event?

    Just to take the example from the vanilla EDB to show what everyone is trying to say:

    recruit_pool "caravel" 1 1 3 0 requires factions { portugal, spain, } and event_counter world_is_round 1
    You require the 1 to indicate that the event has fired. You have set the event now at the end without the number one, meaning that this isn't going to fire at all, it just doesn't give you an error message.
    Zero does not work by the way, you have to use the negative phrasing:
    and not event_counter.....










  12. #12

    Default Re: how to use world_is_round event?

    You right. I've missed it. Thanx a lot!

  13. #13
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: how to use world_is_round event?

    One is glad to be of service










  14. #14

    Default Re: how to use world_is_round event?

    You are my lifesaver gig.
    And right about the zero part always forget it.
    I told him but he wasn't getting it.

  15. #15
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: how to use world_is_round event?

    It takes some time getting used to the scripting language, it doesn't appear logical sometimes.










  16. #16

    Default Re: how to use world_is_round event?

    No. I think it is logical. Besides to my own language, when double negation not all the time give affirmation Consuesudo altera natura est

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •