“Delay” Attribute issue of XML code #16099
Lolien-Rhinah
started this conversation in
Bug reports
Replies: 2 comments 3 replies
-
probably caused by #15284 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Strange, why that example code have be no send? (o_o)? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Disclaimers
What happened?
Any StatusEffect when using "delay" attribute, When they effective on characters (Like affliction, or write in character self) , this StatusEffect will execute on the coordinate of delay timer's Begin, not the coordinate of timer's End. This problem it's most obvious in execute Spawn Action (Like creature, item or particles).
Example:
(StatusEffect type="OnDeath" target="This" delay="30")
(SpawnCharacter speciesname="hammerheadspawn" count="30" spread="100"/)
(/StatusEffect)
↑ when this SE write in a Creature (Character), in correctly, when it's dead, hammerheadspawn will be spawn around this creature's body after 30 sec, Whatever how to push the body aside, hammerheadspawn Will always spawned on body side, but after "Calm Before The Storm" update, This code will spawned hammerheadspawn at the position of this creature have be killed, not the body side; If something push it aside, The hammerheadspawn will spawn in the wrong place (Will spawn in coordinate of delay's begin).
This problem have no much lethality for vanilla game, but it's harmful for MODs, Especially for Creature Packs.
Reproduction steps
When Any StatusEffect using "delay" attribute working on a creature (Or we call it "Characters"), whatever the StatusEffect it's write in affliction or character.xml. But fortunately, items have no this problem...
Bug prevalence
Happens every time I play
Single player or multiplayer?
Happens in both single player and multiplayer
-
No response
Version
v1.8.8.1 (Calm Before the Storm Hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
Beta Was this translation helpful? Give feedback.
All reactions