-
-
Notifications
You must be signed in to change notification settings - Fork 121
Restored ScritType action 24 - Play speech with index... #1900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Restored ScritType action 24 - Play speech with index... #1900
Conversation
- Given a speech index, the game will play it. Just like action 24 from Tiberian Sun. In `aimd.ini`: ```ini [SOMESCRIPTTYPE] ; ScriptType x=19000,n ```
|
Nightly build for this pull request:
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. Updated with value 24 instead of 19000. |
|
Nothing to be ashamed of friend, we all do those silly mistakes sometimes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
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. |
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.
In
aimd.ini:Already tested in my mod and very simple action.