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

blue emu

GroFAZ
Moderator
8 Badges
Mar 13, 2004
17.503
20.150
  • Crusader Kings II
  • Europa Universalis III
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis: Rome
  • 500k Club
  • Hearts of Iron II: Beta
I'm trying to help a player console-in some units (for the AI, not for himself)... by writing a script to be triggered from the F12 console.

Here's the thread: http://forum.paradoxplaza.com/forum/showthread.php?t=236992

... and here's the script:

Code:
event = {
	id = 90001
	random = no
	country = ENG
	persistent = yes

	name = "The RAF recieves reinforcements"
	desc = "A new squadron of bombers has joined the RAF."
	picture = "assistance"
	style = 0

	action_a = {
	name = "Fine"
	command = { type = add_division value = strategic_bomber when = 1 }
	command = { type = add_division value = strategic_bomber when = 1 }
	}
	}

event = {
	id = 90002
	random = no
	country = ENG
	persistent = yes

	name = "The RAF recieves reinforcements"
	desc = "A new squadron of interceptors has joined the RAF."
	picture = "assistance"
	style = 0

	action_a = {
	name = "Fine"
	command = { type = add_division value = interceptor when = 3 }
	command = { type = add_division value = interceptor when = 3 }
	command = { type = add_division value = interceptor when = 3 }
	command = { type = add_division value = interceptor when = 3 }
	}
	}

event = {
	id = 90003
	random = no
	country = ENG
	persistent = yes

	name = "The soviet Union mobilises Siberia!"
	desc = "new divisions have joined the red army."
	picture = "assistance"
	style = 0

	action_a = {
	name = "Fine"
	command = { type = add_division value = infantry when = 3 }
	command = { type = add_division value = infantry when = 3 }
	command = { type = add_division value = infantry when = 3 }
	command = { type = add_division value = infantry when = 3 }
	}
	}

event = {
	id = 90004
	random = no
	country = SOV
	persistent = yes

	name = "The soviet Union mobilises the whole damned Motherland!"
	desc = "A LOT of new divisions have joined the red army."
	picture = "assistance"
	style = 0

	action_a = {
	name = "Fine"
	command = { type = add_division value = infantry when = 4 }
	command = { type = add_division value = infantry when = 4 }
	command = { type = add_division value = infantry when = 4 }
	command = { type = add_division value = infantry when = 4 }
}
}

We can't seem to get it to trigger through the console... can anyone figure out what we're doing wrong?
 

HMS Enterprize

On loan to the C.S Navy
26 Badges
Jun 21, 2004
4.903
57
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • 500k Club
  • Victoria 2
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Darkest Hour
which one doesnt work? the first or all of them?

I might be having a brain swish but are you sure the event tag numbers are not already in use? I swear I have seen 90000s before...
 

invertigo2004

Captain
90 Badges
Jan 28, 2005
429
3
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Victoria 2
HMS Enterprize said:
which one doesnt work? the first or all of them?

I might be having a brain swish but are you sure the event tag numbers are not already in use? I swear I have seen 90000s before...

i believe you're correct.

try adding a 0 to each event...instead of 90,000s, try 900,000s.
 

blue emu

GroFAZ
Moderator
8 Badges
Mar 13, 2004
17.503
20.150
  • Crusader Kings II
  • Europa Universalis III
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis: Rome
  • 500k Club
  • Hearts of Iron II: Beta
Unfortunately for that suggestion, the 900000's are already in use... by the election events.

I'll try making them 99000's instead.
 

unmerged(36926)

Second Lieutenant
Dec 14, 2004
140
0
Event writing/editing is really tricky for computer illiterates like myself. I hope someone can help out the guy that started this thread and I also hope that some assistance can be given on the “quick event request” thread several topics down.
 

OsirisReborn

Colonel
6 Badges
Oct 22, 2005
1.049
1
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Rome: Vae Victis
invertigo2004 said:
sorry, didn't realize that...i know from experience the 400000s are open :D
itried changing it to 400001 400002 400003 etc
still no luck
i let it run a few weeks anyway just to make sure but its not working
shouldnt there be a msg in the game log or a pop up when i fire an event like this ?
 

invertigo2004

Captain
90 Badges
Jan 28, 2005
429
3
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Victoria 2
Hmmm...these events are for England and the USSR...are you trying to trigger them as Germany? I know if you try to trigger an event for one country from another it won't work correctly. What you may need to do is put together a trigger event as Germany. For example...


event = {
id = 400000
country = GER
random = no

name = "Enemy Reinforcements"
desc = "Our enemies have reinforced themselves."
picture = "assistance"
style = 0

action_a = {
name = "We'll deal with it."
command = { type = trigger which = 400001 }
command = { type = trigger which = 400002 }
command = { type = trigger which = 400003 }
command = { type = trigger which = 400004 }
}
}

also, i've noticed in your 3rd event, the description says the reinforcements are for the Red Army, yet the event if for England.

Hope this helps.
 

OsirisReborn

Colonel
6 Badges
Oct 22, 2005
1.049
1
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Rome: Vae Victis
also i noticed my helper put in "country" in the original post
i didnt have that in there
we added "persistent" at some point is that nessesary ? i thought it lets me fire the event as many times as i want ...is this all it does ?
also with the soviet infantry when = 3 is 1939 inf right ? and when = 4 is 1941 inf right ? or better yet look over what models im actually producing ...try ing for (seperately) 1940 STRAT 1940 Int FTR and the 2 types of INF i mentioned

if this looks good ill try it out :

event = {
id = 400001
country = ENG
random = no
persistent = yes

name = "The RAF recieves reinforcements"
desc = "A new squadron of bombers has joined the RAF."
picture = "assistance"
style = 0

action_a = {
name = "Fine"
command = { type = add_division value = strategic_bomber when = 1 }
command = { type = add_division value = strategic_bomber when = 1 }
}
}

event = {
id = 400002
country = ENG
random = no
persistent = yes

name = "The RAF recieves reinforcements"
desc = "A new squadron of interceptors has joined the RAF."
picture = "assistance"
style = 0

action_a = {
name = "Fine"
command = { type = add_division value = interceptor when = 3 }
command = { type = add_division value = interceptor when = 3 }
command = { type = add_division value = interceptor when = 3 }
command = { type = add_division value = interceptor when = 3 }
}
}

event = {
id = 400003
country = SOV
random = no
persistent = yes

name = "The soviet Union mobilises Siberia!"
desc = "new divisions have joined the red army."
picture = "assistance"
style = 0

action_a = {
name = "Fine"
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
command = { type = add_division value = infantry when = 3 }
}
}

event = {
id = 400004
country = SOV
random = no
persistent = yes

name = "The soviet Union mobilises the whole damned Motherland!"
desc = "ALOT of new divisions have joined the red army."
picture = "assistance"
style = 0

action_a = {
name = "Fine"
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
command = { type = add_division value = infantry when = 4 }
}
}

event = {
id = 400005
country = GER
random = no

name = "Enemy Reinforcements"
desc = "Our enemies , the british , have reinforced themselves."
picture = "assistance"
style = 0

action_a = {
name = "We'll deal with it."
command = { type = trigger which = 400001 }
command = { type = trigger which = 400002 }

}
}

event = {
id = 400006
country = GER
random = no

name = "Enemy Reinforcements"
desc = "Our enemies , the russians , have reinforced themselves."
picture = "assistance"
style = 0

action_a = {
name = "We'll deal with it."

command = { type = trigger which = 400003 }

}
}

event = {
id = 400007
country = GER
random = no

name = "Enemy Reinforcements"
desc = "Our enemies , the russians , are preparing to counter attack !"
picture = "assistance"
style = 0

action_a = {
name = "We'll deal with it."

command = { type = trigger which = 400004 }
}
}
 
Last edited:

invertigo2004

Captain
90 Badges
Jan 28, 2005
429
3
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Victoria 2
Jeandeloch said:
also i noticed my helper put in "country" in the original post
i didnt have that in there
we added "persistent" at some point is that nessesary ? i thought it lets me fire the event as many times as i want ...is this all it does ?

essentially, yes. since this event is manually fired, yes you'll be able to do it as many times as you want. if there were trigger conditions, the event would continue to fire as long as the trigger conditions were met. For instance, I modified the "Return Provinces to Vichy" event to be persistent, and added the option to refuse the return for now, allowing me to move my armies in France straight into Spain, my ally, via Perpignon, bypassing the mountains and making the transfer much quicker. When i finally accepted the return of the provinces, i added a command to sleep the event permanently.
 

OsirisReborn

Colonel
6 Badges
Oct 22, 2005
1.049
1
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Rome: Vae Victis
sorry i edited alot into my last post
can u look over my final event text ?
see if u catch any more obvious blunders ?
thnx alot
 

OsirisReborn

Colonel
6 Badges
Oct 22, 2005
1.049
1
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Rome: Vae Victis
it still doesnt work :confused:

3 days i been beating my head against the wall
maybe my first home made event was just too ambitious
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • 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
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
Just to check, try:

1) Adding a date set (start, offset, deathdate). Allow the game to trigger it manually (by the dates) to see if it works like that.

2) If it does start game again and try triggering it through the console with the date statements.

It may be persistent events cant be used without a date statement (though why this should be so, I dont know)

Ayeshteni
 

unmerged(36926)

Second Lieutenant
Dec 14, 2004
140
0
I see that some members here are capable of scripting events. I have found the experiance of attempting to write events very frustrating. I would be very greatful if some of the posters on this thread could take a look at the "quick event request" thread that came up a few days ago and post some suggestions/corrections to my quiries.

Thanks