Re: Excuse me but I've got one strange problem
Posted: Tue Jan 06, 2009 4:05 pm
Home to war3, war3ft, war3x and uwc3
https://forums.wc3mods.net/
Code: Select all
// Register forwards (from fakemeta)
register_forward( FM_TraceLine , "TRIGGER_TraceLine");
Code: Select all
// Register forwards (from fakemeta)
register_forward( FM_TraceLine , "TRIGGER_TraceLine", 1);
I don't have this problem with 3.0...Geesu wrote:Interesting... Is this a current problem in 3.0? And what does adding the 1 do?
Code: Select all
register_forward ( forwardType, callback[], [ post = 0 ] )
If post is set to 1, the function is a "POST" function in metamod, which means that it is called AFTER the engine has called the original. This also means you cannot block the original function.