GetMyTeam: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{v1_8_beta}} {{Welcome|desc=This function will return the team ID (0-255) of NPC.| params=<source inline>NoParams</source>|example=<source>print("My Team ID is "+ GetMyTeam()+ "\n");</source>| retvals=The Team ID of the npc|relfuncs= *GetPlayerTeam *GetMySkin|}}") |
No edit summary |
||
Line 1: | Line 1: | ||
{{v1_8_beta}} | {{v1_8_beta}} | ||
{{Welcome|desc=This function will return the team ID (0-255) of NPC.| | {{Welcome|desc=This function will return the team ID (0-255) of NPC.| | ||
params=<source | params=<source >NoParams</source>|example=<source>print("My Team ID is "+ GetMyTeam()+ "\n");</source>| | ||
retvals=The Team ID of the npc|relfuncs= | retvals=The Team ID of the npc|relfuncs= | ||
*[[GetPlayerTeam]] | *[[GetPlayerTeam]] | ||
*[[GetMySkin]]|}} | *[[GetMySkin]]|}} |
Latest revision as of 17:06, 29 October 2024
This function was added in v1.8 beta and will not work on previous versions.
Description:
This function will return the team ID (0-255) of NPC.
Parameters:
NoParams
Return Values:
The Team ID of the npc
Example
print("My Team ID is "+ GetMyTeam()+ "\n");
Related Functions
The following functions may be helpful as they relate to this function in one way or another.