User Tools

Site Tools


4rpl:commands:setcmodplayermenuname

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:setcmodplayermenuname [2021/01/08 11:01] – external edit 127.0.0.14rpl:commands:setcmodplayermenuname [2022/11/19 15:06] (current) – old revision restored (2021/05/13 14:39) Karsten75
Line 11: Line 11:
 name and build the specified unit. name and build the specified unit.
 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.
 +
 +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.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1