• 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.

Question

Field Marshal
Jun 11, 2019
3.417
6.752

Information​

I have verifed my game files (Steam only)​

Yes

I have disabled all mods​

Yes

I am running the latest game update​

Yes

Required​

Summary​

1.9.2.1 : "Tilting for Attention" has incorrect triggers and scopes

Description​

image.png


ep2_tournament_events.3501

This event is supposed to give you a choice of recruiting someone to join your court. There are two problems with this :

-The characters may ALREADY be part of your court, which defeats the point of recruiting them

-The 3rd option to pit them against each other obviously has incorrect scopes (see the tooltip in the screenshot)

Steps to reproduce​

The solutions are simple :

First, fix the scripted trigger to exclude characters part of your court :

Code:
scripted_trigger tournament_events_3501_knight_trigger = {
	age < 25 #Need to be young to prove themselves!
	is_ai = yes #No players!
	can_be_knight_trigger = { ARMY_OWNER = root } # CAN be a knight...
	is_knight = no #...but isn't currently
	is_landed = no #is not landed, to avoid taking anyone good
	NOR = { #is not employed, to avoid taking anyone useful
		has_council_position = councillor_spouse
		has_council_position = councillor_marshal
		has_council_position = councillor_court_chaplain
		has_council_position = councillor_steward
		has_council_position = councillor_spymaster
	}
	NOT = { this = root } #isn't you, or the either knight
	NOT = {
		is_courtier_of = root #makes it pointless if they are already your courtier
	}
}

For the third option, just change the scopes for the interface_toast to ROOT :

Code:
root = {
						send_interface_toast = {
							title = ep2_tournament_events.knight_1_wins
							left_icon = root
							right_icon = scope:knight1
							add_courtier = scope:knight1
							scope:knight1 = {
								accolade_minor_glory_gain_with_checks_effect = yes
							}
						}
					}

and

Code:
root = {
						send_interface_toast = {
							title = ep2_tournament_events.knight_2_wins
							left_icon = root
							right_icon = scope:knight2
							add_courtier = scope:knight2
							scope:knight2 = {
								accolade_minor_glory_gain_with_checks_effect = yes
							}
						}
					}

Game Version​

1.9.2.1

Platform​

Windows

Additional Information​

Affected Feature​

  • Events

Save Game​



Other Attachments​