View Poll Results: Is this use full for you?

Voters
8. You may not vote on this poll
  • Yes

    4 50.00%
  • No

    3 37.50%
  • I don't give a shit

    1 12.50%
Results 1 to 4 of 4

Thread: Release - COD2 Player Events

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Mitch View Post
    It looks very nice. What are the benefits when you use this script?
    It will cut down the number of instances of waittill() and endon() for each event. If you have lots of individual files all with an instance of waittill() and endon() for all the events, this adds to the maximum number of script variables the game engine will allow. So, building an event manager like this will make it more manageable and stop server crashes.

    Personally, I think callbacks are better, built out of the engine callbacks, and hooking into the game events and tracing back to certain files and folders. Callbacks require no script variables, and are therefore preferable to loops with script variables in them.
    Last edited by Tally; 31st January 2013 at 23:39.

  2. The Following 2 Users Say Thank You to Tally For This Useful Post:

    kung foo man (31st January 2013),ysniper (17th April 2016)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •