Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Some working event code that does roughly the same thing...
This spawns a commander slave every PK turn at their capital providing they don't have one there already. Hopfully you can edit it to work for you.
Logically the solution would be to change class -2 to class -3 so that the squareevent only looks at hamlet tiles that are owned by my modded faction, and then proceeds to spawn a unit there if there is not one already. Doing this however just breaks the entire squareevent, reducing it to absolutely no output with no error code or warning or anything, hence my original post. I wouldn't have imagined that the syntax would have been the issue here anyways and I have been messing around with that without getting any progress.
I don't know why this way works, but the other doesn't. it may have somthing to do with +class -3 not working however.
By player-specific unit do you mean for all existing classes, for just for yours?