OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: MontyDrake on November 05, 2021, 07:45:54 pm
-
I've been working on a mod that changes the way the player manages recruits, and I'm in need to get new soldiers regularly.
My intention was using eventScripts in OXCE. The event pop's up, but somehow I'm not getting any new soldiers.
eventScripts:
- type: STR_SCRIPTEVENT_RECRUIT
eventWeights:
0:
STR_EVENT_RECRUIT: 100
firstMonth: 0
lastMonth: -1
executionOdds: 100
minDifficulty: 0
maxDifficulty: 4
events:
- name: STR_EVENT_RECRUIT
description: STR_EVENT_RECRUIT_DESC
background: BACK13.SCR
spawnedPersons: 3
spawnedPersonType: STR_SOLDIER
I'm using OXCE 7.1.4
Is there anything I'm missing?
-
It looks okay. When the event pops up, did you wait the 24 hours?
-
Oh! I didn't know it took 24 hours. I thought they just automatically spawned. My bad, really really sorry.