• 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(4868)

Lt. General
Jul 12, 2001
1.597
0
Hi all.... I successfully made 3 event scripts already! they run smoothly.

however, on my 4th event script... I am trying to make one of the event choices "kill" off an existing leader. it's something to do with a political traitor plot, so one of the event choices is to kill the traitor leader.

The problem is... to my knowledge, the only TAG for that is:

command ={ type = sleepleader which = leaderxid# }

If I understand correctly, that command should retire an existing active leader (e.g. LeaderX)

my problem is that when I run this event during the game, it ends up becoming:

"You have Gained the services of LeaderX!"

So it does the opposite of what I expected! I tries to conjure up the leader rather than kill him off.

I'm stuck. :( Can anyone please help? thanks
 
The sleep monarch doesn't work either. I tried it with an event also it didn't work. When the event comes up it event comes up it even has the monarchs name as being removed but they manage to still rise to the throne.:(
 
Originally posted by Havard
Actually I thought only the mouseover was wrong, is the leader still there after you execute the event (and possibly the traitor :D)?

yep, the leader I'm trying to kill is still there after the sleepleader command is executed. he just sits in the capital and nothing happens to him. maybe this command is broken?? if that's the case, then I hope Paradox knows about it ASAP

as for the rest of the "event script" itself, it's working fine. so the event script that I made is NOT broken. it actually works because the other clickable choices are executed properly.

only the action/command that includes the {sleepleader} seems to be dysfunctional.

thanks for listening
 
Yep. You are right. I reported it as a bug 10 min. ago...

(there appears to be a problem with the wakemonarch command too, if you are activating more than one monarch..)
 
Originally posted by draco
The sleep monarch doesn't work either. I tried it with an event also it didn't work. When the event comes up it event comes up it even has the monarchs name as being removed but they manage to still rise to the throne.:(

I have just been testing this, and the sleepmonarch worked ok here. Did you have a wakemonarch command to activate a successor?
 
Yes, I put to sleep two monarchs and had one to replace them.