Restored ScritType action 24 - Play speech with index...
RA2/YR doesn't have implemented the Tiberian Sun action "24" (Play Speech). It just marks the action ended and then jumps to the next action from the script list.
- Given a speech index, the game will play it. Just like action 24 from Tiberian Sun.
In aimd.ini:
[SOMESCRIPTTYPE] ; ScriptType
x=24,n
Already tested in my mod and very simple action.
Nightly build for this pull request:
- compiled-dll-e6fc95d438e7306c3f159c0d74cd7ed0071c31a7.zip These artifacts will expire in 90 days and will not be available for download after that time.
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.
Why not restore action 24 if it exists in YR?
I'm a bit ashamed, I always though lower numbers used by the game or Ares couldn't be readed by Phobos (I don't know why I was thinking that) but I just renamed the 19000 to 24 of this new action and put some breakpoints and efectively the code was executed. Since the original RA2/YR action 24 only does a "pTeam->StepCompleted = true;" all is fine -_-'
Updated with value 24 instead of 19000.
Nothing to be ashamed of friend, we all do those silly mistakes sometimes.
I don't mind renaming this but I only use the naming commonly used in FinalSun, FinalAlert2, WAE and all knowledge pages like ModEnc.
I don't mind renaming this but I only use the naming commonly used in FinalSun, FinalAlert2, WAE and all knowledge pages like ModEnc.
I see. No problem then.