lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Kelvin McDowell wrote:
> Allowing level scripters to write stuff like:
> 
> dosomething()
> waitforevent( "some game event" )
> donextthing()
> 
> would be a big win as far as script complexity goes.

i think that you can do someting like that using function callbacks:

dosomething()
waitforevent("some game event", donextthing)



Ignacio Castano
castano@crytek.com