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

Gringoesteban

Major
5 Badges
Jan 29, 2008
699
2
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Hearts of Iron III: Their Finest Hour
  • 500k Club
The event command to delete naval units (-2) and air units (-3) is not working. The event will trigger without causing a crash or any problems, but unfortunately no units are removed from the game.

These events can be important if one wants to mod surrender events - for example if ENG surrenders then I want to add an event to scuttle the entire Royal Navy. Or when the Vichy event triggers, the whole VIC navy should be eliminated. This cannot be accomplished until the bug is corrected.

Specifically, here are the commands I am referring to:
type = delete_unit which = [unit id type/-1/-2/-3] value = [unit id id]
-1 is a random land unit (value will be ignored).
-2 is a random naval unit (value will be ignored).
-3 is a random air unit (value will be ignored).

Note that deleting land units (-1) is WAD.
 
Upvote 0