Hello I'm new here but I've been lurking around for a while now. Been modding my own mod for like the past 2 weeks straight and I seem to have gotten down the editing of the ships and weapons, but I still don't understand that <invoke block nil> stuff. I was trying to make one of my weapons handicapped by making it have charges and those charges would recharge over time. I had something like
Code: Select all
<Event>
<block nil
(sysAddObjRecurringTimerEvent 100 gplyership "Recharge")
<block recharge
(shpRechargeItem gplyership "wI" 1)
Or something like that. I'm not sure cause I deleted it when it wouldn't work.
Also I was going to have one ship keep one main weapon but was upgradeable with device enhancements. Basically the weapon was virtual but there were device slots that I can install items that affect the weapon specifically. Any idea how I can go about doing that?