User Tools

Site Tools


4rpl:commands:setcmodplayermenuname

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:setcmodplayermenuname [2021/05/13 14:04] durikkan4rpl:commands:setcmodplayermenuname [2022/11/19 15:06] (current) – old revision restored (2021/05/13 14:39) Karsten75
Line 12: Line 12:
 The section is a number that specified which menu the name is added to. It can be 0,1,2,3,4. 0 means the Struct menu, 1 means the Weapons menu, 2 is the Air menu, 3 is the Special menu, and 4 is the Custom menu. The section is a number that specified which menu the name is added to. It can be 0,1,2,3,4. 0 means the Struct menu, 1 means the Weapons menu, 2 is the Air menu, 3 is the Special menu, and 4 is the Custom menu.
  
-Note: This function is very slow, and should only be called when needed, avoid calling it every frame +SetCModPlayerMenuName rebuilds the entire unit menu on the left. So it will be expensive in terms of CPU cycles. It is not intended that it be be called frequently (just when adding something to the menu).
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/setcmodplayermenuname.txt · Last modified: 2022/11/19 15:06 by Karsten75