Talk:Adding the Game Instructor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Reverted edits by DiscussionRepairBot (talk) to last revision by REDESAILE)
Tag: Rollback
m (Nesciuse moved page Talk:Multipage Base Pages Temp Storage/Adding the Game Instructor to Talk:Adding the Game Instructor without leaving a redirect: Moving back to proper place)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{discussion page}}
{{discussion page}}


{{Message
Please contact the person who wrote the article to see if they can get a link up with the material files. --Gamerzlog11 ([[User talk:Gamerzlog11|talk]]) 03:00, 28 May 2019
|user=Gamerzlog11
|time=03:00, 28 May 2019
|Please contact the person who wrote the article to see if they can get a link up with the material files.
}}


== HELP about the event ==
== HELP about the event ==
{{Message
were should i paste this code ?
|user=SADFI2259X
|time=15:07, 7 Feb 2023
|text=were should i paste this code ?
<pre>
<pre>
IGameEvent *pEvent = gameeventmanager->CreateEvent("instructor_primaryattack");
IGameEvent *pEvent = gameeventmanager->CreateEvent("instructor_primaryattack");
Line 19: Line 12:
gameeventmanager->FireEvent(pEvent);
gameeventmanager->FireEvent(pEvent);
}
}
</pre>
</pre> --SADFI2259X ([[User talk:SADFI2259X|talk]]) 15:07, 7 Feb 2023
}}

Latest revision as of 16:01, 15 July 2024

Icon-message-48px.png
This is the discussion page of Adding the Game Instructor. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

Please contact the person who wrote the article to see if they can get a link up with the material files. --Gamerzlog11 (talk) 03:00, 28 May 2019

HELP about the event

were should i paste this code ?

IGameEvent *pEvent = gameeventmanager->CreateEvent("instructor_primaryattack");
if (pEvent)
{
	pEvent->SetInt("userid", GetUserID());
	gameeventmanager->FireEvent(pEvent);
}

--SADFI2259X (talk) 15:07, 7 Feb 2023