SetUpgCost

Sets the appropriate cost on the aliens's radial menu.  The information on this page was taken from mahnsawce's post on the modns.org forums.

Byte
Total number of upgrades it's listing. There will be 2 bytes written for each upgrade.

For each upgrade:
Byte
Impulse
Byte
Cost

Example:

To have the upgrade costs for going fade and onos be 40 and 90, respectively, you would do:

WriteByte(2)
WriteByte(116) // Fade impulse
WriteByte(40)
WriteByte(117) // Onos impulse
WriteByte(90)

Note this does not change the actual cost of the life form, just what it displays on the clients radial menu.

Just a side note, having this particular message caught in a "register_event" on AMX will cause AMX to segfault. (Most likely because it sends 41 bytes all in one lump)

Also note this is sent when a commander enters command mode. However, the total number of upgrades is 0.