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

likk9922

Perpetually Confused
39 Badges
Nov 12, 2006
2.444
0
  • Europa Universalis IV: Common Sense
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Pride of Nations
  • Rome Gold
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Cities in Motion
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
Triggers

Ok-

I decided to make the game so that you can gain an explorer or a conquistodor at any time.
I did this by eliminating all of the triggers for these events.
I tested it in the game (as several different countries) by using the cheat event event# and it didn't work.
Does it have to have at least one trigger?
I'm sorry if the question is noobish, but saying my event scripting is amateur is an overstatement.
 
likk9922 said:
Ok-

I decided to make the game so that you can gain an explorer or a conquistodor at any time.
I did this by eliminating all of the triggers for these events.
I tested it in the game (as several different countries) by using the cheat event event# and it didn't work.
Does it have to have at least one trigger?
I'm sorry if the question is noobish, but saying my event scripting is amateur is an overstatement.

Post your altered event, so we can see what it is the event is doing.

Oh and another thing. Is the event in the same place or did you place it in a new event file? If you did you need to place an address entry for the new event file in your event.txt file so the game can read it (if that was the case).

Ayeshteni
 
I just took the already existing events for conquistodors and explorers and deleted the triggers, no new event file.

This is the file:
PHP:
event = {
	id = 94029 # Paradox 1041
	random = yes
	name = "EVENTNAME59"
	desc = "EVENTHIST59"
	style = 0

	trigger = {
	}

	action_a = {
		name = "OK"
		command = { type = conquistador which = -1 }
		command = { type = colonists value = 2 }
	}
}

and

PHP:
event = {
	id = 94080 # Paradox 1040
	random = yes
	name = "EVENTNAME58"
	desc = "EVENTHIST58"
	style = 0

	trigger = {
	}
	action_a = {
		name = "OK"
		command = { type = explorer which = -1 }
		command = { type = colonists value = 2 }
	}
}
 
Triggers are not required. Except for that I believe explorers require a certain naval tech for that command to be valid, this shoudl work. Try removing the empty "trigger = {}" part. That isn't needed...