Renegade Projects Network Forums

Full Version: how to make it work,sellunits and TogglePower?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
in the document ,"In Yuri’s Revenge, a super weapon with Action=TogglePower(Action=SellUnit ) achieves the same function.",but i don't know how to make it work?i need the codes.

[superweaptypes]
x=SellUnitsspecial


[SellUnitsspecial]
Name=SellUnitsspecial
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=0.3
Action=SellUnit
SidebarImage=sellunitIcon


No one knows the answer?
Problem solved!