[Bug]: Euphoria Helpers appear to do nothing.
See original GitHub issueWhat modules are you seeing the problem on?
ScriptHookVDotNet3.dll (v3 SDK/API)
SHVDN Version
3.6.0
Game Version
1.0.2944.0
Bug Description
Calling Start()
on seemingly all CustomHelper
derived Euphoria helper classes does nothing, however calling StaggerFall
through the Native CREATE_NM_MESSAGE
and GIVE_PED_NM_MESSAGE
functions correctly, however with no way to configure the Message.
private void OnKeyDown(object sender, KeyEventArgs key)
{
if (key.KeyCode == Keys.Subtract)
{
Function.Call(Hash.SET_PED_TO_RAGDOLL, Game.Player.Character, 4000, 5000, 1, 1, 1, 0);
SendEuphoriaMessage(NaturalMotionMessages.StopAllBehaviors);
SendEuphoriaMessage(NaturalMotionMessages.StaggerFall); //functions as expected
}
else if (key.KeyCode == Keys.Multiply)
{
Game.Player.Character.Euphoria.StaggerFall.Start(); //does nothing
}
}
Below is the equivalent of calling SendEuphoriaMessage(NaturalMotionMessages.StaggerFall);
with the messageId
as an int
.
Function.Call(Hash.CREATE_NM_MESSAGE, true, 1151);
Function.Call(Hash.GIVE_PED_NM_MESSAGE, Game.Player.Character);
Steps To Reproduce
Call Start()
on almost any of Euphoria CustomHelper
Classes such as StaggerFall
.
Link To Code Example
No response
The Current Behavior
The Character ragdolls and nothing else.
The Expected Behavior
The Euphoria/NaturalMotion Message should be sent to the Character and the action then take place, such as falling over while staggering, instead of flopping to the floor.
Issue Analytics
- State:
- Created 3 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Help! Euphoria Green Smoke Bug : r/witcher
I cannot find anything on the internet about this but whenever I equip the Euphoria mutagen and go into combat the same green...
Read more >BUG: Cannot land on Europa (yes it's unlocked) > Help - ...
Unlocked the Darkness' Doorstep quest for armor synthesis from Ada, but I can't land on Europa to actually get to the quest location....
Read more >True Grit Euphoria Overhaul
This euphoria mod makes major changes to the ragdoll system, reactions are smoother, bullet calliber has more impact, and overall the system ...
Read more >How to install Rampage Trainer (2022) RDR2 MODS - YouTube
How to install Rampage Trainer (2022) RDR2 MODS Clothing Merch here: https://bit.ly/3sVwMDK HELP ME REACH 200K SUBSCRIBERS!
Read more >Cult of the Lamb x Don't Starve Together Crossover Now ...
Thematic Video gets a bit sad imo on the DST side when silhouette from portal proves itself to be just "a little lost...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know what you are concerned about. And that is why I’m focusing on only adding methods for frequently used native functions in ysc scripts that are not well documented in the Native DB and finding design flaws of the new features not shipped in any stable versions. v3.7.0 should be published within 1 week if I manage to do stuff properly. Your patience would be appreciated, and it might be greatly rewarded.
The only reason I bought it up was because it seems “intuitive” to use
Start(int)
and I was using another resource, which has since been defunct by theCustomHelper
s being broken, and they usedStart(int)
. It doesn’t matter too much since the messages only need to last for the duration of the Ragdoll itself and since they don’t function when the character is not in Ragdoll, it works out.