|
|
Re: action runs past level_load
[Re: sivan]
#456780
12/09/15 09:51
12/09/15 09:51
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
OP
Senior Expert
|
OP
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
@Wjbender: Thanks, gonna test both later today.
@sivan: There is nothing wrong with using multiple while loops, if branches are not a nicer or better way to do it. I don't want to add additional stuff or states either, and I've been using this for I don't know how many years. Projects I've started after Superku are more organized and don't use wait and such but that's not the thing in question here. The problem instead is just the following: All objects, enemies and such are killed and their actions stopped on level_load, except a few of those certain enemies in their death loop, as if something put their function state in PROC_GLOBAL mode. Maybe it's just a damaged file or something overwriting memory? Not sure yet.
(I probably shouldn't have posted a code example at all in the first post, got the focus wrong. My bad.)
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: [solved] action runs past level_load
[Re: EpsiloN]
#456833
12/11/15 16:34
12/11/15 16:34
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
OP
Senior Expert
|
OP
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
I've found the reason for the crash: I was letting the enemy in this specific death loop fall too quick and deep. Then it would leave the level(_ent) dimensions, therefore at some point past that the ABT and on the next level_load() the entity wasn't treated as a level entity anymore! Although it's mostly my incompetence I see that as an engine bug, more or less.
Thanks to everyone who posted and shared his ideas in this thread!
Last edited by Superku; 12/11/15 16:34.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: [solved] action runs past level_load
[Re: Superku]
#456835
12/11/15 19:40
12/11/15 19:40
|
Malice
Unregistered
|
Malice
Unregistered
|
^ if not a bug... Information that should be in the manual. Thanks
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|