• Advertisement
  • entries
    503
  • comments
    1888
  • views
    334592

whew.

Sign in to follow this  

95 views

Man, I hate working on the async scripting systems of my engines, they are just no fun =)

however I've now managed to implement a system that is even more robust than MW's system.

in MW certain functions had a boolean param as their last param which signified weither or not the script should wait for them to complete. However it doesnt give you a ton of flexibility.

So instead I now have the choice of where to wait for an action to complete.

like so =)


w0=move(rebecca,10,10);
w1=move(ivy,11,11);
wait(rebecca,w0);
wait(ivy,w1);



here we se an example of moving two characters, and waiting for them both to arrive, this was not possible in the MW scripting system, because if i called move with the intention to wait, it would not call the next move until the first move was done.

all in all it makes for a nice system =)


Sign in to follow this  


4 Comments


Recommended Comments

Speaking of Morning's Wrath, I just played the demo last night... If that was awesome, and if this looks even better...

I'll be saving up for full versions of both. :P

Share this comment


Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement