Can you provide the rest of your code? I'm trying to replicate this for my own regeneration effect and I'm stuck on the: static function X2Effect_Persistent CreateShieldRegenerationEffect(X2Effect_EnergyShield ShieldEffect, string FriendlyName, string LongDescription) Specifically, the first parameter "X2Effect_EnergyShield ShieldEffect". When I call the function, I obviously put the name and description as parameters 2 and 3, but how do I write parameter 1?