April 12, 20188 yr Hey all I set the combat range in the top of my C# With the code @Droidz has provided. public float Range { get { return CombatRange; } } It seems that, it doesn't work if i don't set it as read-only (get). I want to be able to change the range from fightclass settings, does anyone know how to get this to work? :) Added this here, since it's more a all around thing, than vanilla only. :)
April 12, 20188 yr Author 14 minutes ago, Zan said: This doesn't work? public float Range { get { return FightClassSettingsHere; } } Well, yes it does. But since it's read-only i can only set it once. I wanted to change Range based on conditions. :) Edit: LoL.Brainfart.. nevermind.. how did i not see the "return" rofl.. Works fine. :) Edited April 13, 20188 yr by Ordush
Create an account or sign in to comment