Zero-length Spawn: states and A_SpawnItemEx

Create issue
Issue #270 new
Former user created an issue

Tested in ECWolf x64 ver. 1.3.323-gd5665ea.

In brief, in an actor's Spawn: state, calling A_SpawnItemEx on the first frame will never succeed if the frame's duration is zero. For example:

States {
    BLNK A 0 A_SpawnItemEx(...)

The above snippet will never spawn an object. However:

States {
    BLNK A 0
    BLNK A 0 A_SpawnItemEx(...)

...the above will succeed. I have been told that this is not a problem if the first frame's duration is -1, but spawning multiple objects during the Spawn: state will require the workaround mentioned.

Comments (1)

  1. Braden Obrzut

    It’s not so much that the duration of -1 matters, but that there’s no state following the first one.

  2. Log in to comment