User Tools

Site Tools


4rpl:commands:setcmodeditmenuname

Index

SetCModEditMenuName

SetCModEditMenuName(<-CModUID <-name)

Description

Causes the unit to be added to the edit menu with the specified name. The CModUID (a unit template defined in a CPACK) references the unit definition. You can get the CMOD UID from within the CPACK manager. CMOD UIDs are unique and never change. Once added, the map maker can click on the button that contains the name and build the specified unit.

Examples

SetCModEditMenuName(<-CModUID "TestUnit")

Index

4rpl/commands/setcmodeditmenuname.txt · Last modified: 2021/01/08 11:01 by 127.0.0.1