Memus 1 Posted December 13, 2017 Share Posted December 13, 2017 This code: engine = new Engine(false); engine.States.Add(new SpellState("Power Word: Fortitude", 11, c => !ObjectManager.Me.HaveBuff("Power Word: Fortitude"), true, false)); engine.States.Add(new SpellState("Divine Spirit", 10, c => !ObjectManager.Me.HaveBuff("Divine Spirit"), true, false)); engine.StartEngine(15); Only the first/highest prioritized SpellState gets evaluated... No matter what. How can I make the engine process more than one state of a particular type? Link to comment https://wrobot.eu/forums/topic/7983-finitestatemachine/ Share on other sites More sharing options...
Memus 1 Posted December 13, 2017 Author Share Posted December 13, 2017 Nevermind. Found the Engine.StartEngine ignoreIfAlreadyLaunched parameter :) Link to comment https://wrobot.eu/forums/topic/7983-finitestatemachine/#findComment-36563 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now