• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(2456)

Pure Evil Genius
Mar 29, 2001
11.211
0
www.hero6.com
the CSC any conditions with value statements (like heirs and predesors, descendants) does not seem to be working. IE it doen't seem to look and see if you have an heir fitting the criteria if you use:
Code:
condition = {
	type = any_heir max = 1
	condition = { type = age value = 16 }
	}
 
Upvote 0
I have never used it, so I am not sure of the syntax.

Have you tried:
Code:
condition = {
	type = any_heir [COLOR=Red][B],[/B][/COLOR] max = 1
	condition = { type = age value = 16 }
	}
or
Code:
condition = {
	type = any_heir [COLOR=Red][B],[/B][/COLOR] 1
	condition = { type = age value = 16 }
	}
Because maybe that's what the event effect.txt really mean.

Cat
 
Cat Lord said:
I have never used it, so I am not sure of the syntax.

Have you tried:
Code:
condition = {
	type = any_heir[B],[/B] max = 1
	condition = { type = age value = 16 }
	}
or
Code:
condition = {
	type = any_heir [B],[/B] 1
	condition = { type = age value = 16 }
	}
Because maybe that's what the event effect.txt really mean.

Cat
I tested those and:
Code:
condition = {
	type = any_heir [B]=[/B] 1
	condition = { type = age value = 16 }
	}
Code:
condition = {
	type = any_heir [B]value =[/B] 1
	condition = { type = age value = 16 }
	}
Code:
condition = {
	type = any_heir [B]data =[/B] 1
	condition = { type = age value = 16 }
	}
None of those seem to work. All cause errors when loading files as does the ones in previous posts.

If this really isn't broken, neither I nor anyone on this board as far as I can tell knows what the correct syntax is.
 
type = any_precursor doesn't seem to be recognise at all... :(

Cat
 
Have you tried just any_heir without all that max stuff? As in this way:

Code:
condition = {
         type = any_heir
         condition = { type = age value = 16 }
}
 
I have tried any_precursor that way, and it's not working.

I have asked the powers above to give us some hint... ;)

Cat