urbanyoung / Phasor

Phasor is a server extension for Halo PC which focuses on giving the end-user the ability to deeply customize gameplay. Phasor does this via its scripting system, which uses the Lua language. Scripters are able to react to and change many different aspects of the game.
MIT License
19 stars 9 forks source link

Add the option of returning map id in OnObjectCreationAttempt #7

Closed twhitcomb closed 11 years ago

twhitcomb commented 11 years ago

This will be an easy way of replacing all objects on the map with another object. Probably have to stay within the same tag type due to object size (you told me something along those lines; just reminding you of that). Returning true or nil would do the same thing as returning the mapid passed into the event function, while returning false would block the object from being created.

urbanyoung commented 11 years ago

added in d0a296d31296bfc1ea39c936da1d3de3b32ec07d