[TF2] mvm_mission_complete event not firing
Hi all,
I'm trying to use a hookevent from https://wiki.alliedmods.net/Team_For...ssion_complete labelled "mvm_mission_complete" But when I use the tf_mvm_force_victory command, this event does not show up on the event dump. Code:
Empty ambient_generic (ambient_generic) at -1454.34, -487.95, 585.00 |
Re: [TF2] mvm_mission_complete event not firing
You can use usermessage MVMVictory.
|
Re: [TF2] mvm_mission_complete event not firing
Quote:
Like this? Code:
HookUserMessage(GetUserMessageId(UserMsg"MVMVictory"), mvm_complete, true); |
Re: [TF2] mvm_mission_complete event not firing
Yes.
|
Re: [TF2] mvm_mission_complete event not firing
|
Re: [TF2] mvm_mission_complete event not firing
HookUserMessage(GetUserMessageId("MVMVictory" ), mvm_complete, true);
|
Re: [TF2] mvm_mission_complete event not firing
|
Re: [TF2] mvm_mission_complete event not firing
i'm guessing tf2's usermessage is different nowadays?
|
Re: [TF2] mvm_mission_complete event not firing
Maybe you want to check your mvm_complete to match the proper protoype for MsgHook:
https://sm.alliedmods.net/new-api/usermessages/MsgHook Though, I'm not sure which one of the two ist the right one to use here. |
Re: [TF2] mvm_mission_complete event not firing
Quote:
|
All times are GMT -4. The time now is 06:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.