Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » All about modding JA2 » Illegal Soldier ID
|
Re: Illegal Soldier ID[message #344423 is a reply to message #344422]
|
Mon, 07 March 2016 21:58 
|
|
Flugente |
 |
Messages:3507
Registered:April 2009 Location: Germany |
|
|
From the looks of it, Scheduling seems tied to (NPC-only?) soldier actions:
enum
{
SCHEDULE_ACTION_NONE,
SCHEDULE_ACTION_LOCKDOOR,
SCHEDULE_ACTION_UNLOCKDOOR,
SCHEDULE_ACTION_OPENDOOR,
SCHEDULE_ACTION_CLOSEDOOR,
SCHEDULE_ACTION_GRIDNO,
SCHEDULE_ACTION_LEAVESECTOR,
SCHEDULE_ACTION_ENTERSECTOR,
SCHEDULE_ACTION_STAYINSECTOR,
SCHEDULE_ACTION_SLEEP,
SCHEDULE_ACTION_WAKE,
NUM_SCHEDULE_ACTIONS
};
The above error happens if a schedule is called for the soldier with the ID 0, which is always a player-controlled merc. This is only partly reasonable, as all other mercs under player control are not 'protected' by this check. This all seems rather weird, and I'm still not sure what is supposed to happen here (as usual, documentation is non-existent).
Edit: Perhaps this is map-editor-related? I assume there must be some mechanism to get civilians to do their daily routines - perhaps you altered sth there? Apart from that, it seems the only consequence will be that a specific schedule isn't called, but this does not seem that serious.
[Updated on: Mon, 07 March 2016 22:11]
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Feb 19 08:11:18 GMT+2 2025
Total time taken to generate the page: 0.01146 seconds
|