* fix transition crash when skipping * transition crash fix again * rename transition script var * better transition scripting * add more transition script functions * move post create to actually be after * change this * actually destroy the script * add a variable to disable skipping the transition * opa idk felt better like this --------- Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
18 lines
384 B
Haxe
18 lines
384 B
Haxe
package funkin.backend.scripting.events;
|
|
|
|
import flixel.FlxState;
|
|
|
|
/**
|
|
* CANCEL this event to prevent default behaviour!
|
|
*/
|
|
final class TransitionCreationEvent extends CancellableEvent {
|
|
/**
|
|
* If the transition is going out into another state
|
|
*/
|
|
public var transOut:Bool;
|
|
|
|
/**
|
|
* The state that is about to be loaded (only on trans out)
|
|
*/
|
|
public var newState:FlxState;
|
|
} |