Page 1 of 1

Why the difference [SOLVED]

PostPosted: Thu May 18, 2017 10:01 pm
by Loki
Hi all, if for example

public override bool Interact(GamePlayer player)

player.name = player name

but

player.CharacterClass = doesnt equal like paladin or blademaster..


It always returns something like characterClassBlademaster

What am I missing.....

Re: Why the difference

PostPosted: Thu May 18, 2017 10:14 pm
by Loki
Or tells me Hybrid

Re: Why the difference

PostPosted: Thu May 18, 2017 11:55 pm
by ontheDOL
try
player.CharacterClass.Name

Re: Why the difference (SOLVED)

PostPosted: Fri May 19, 2017 6:56 am
by Loki
Well that's embarrassing, I went through the list looking for the obvious..... Noob! :( it was late though :).


Thank you ontheDOL

Re: Why the difference (SOLVED)

PostPosted: Fri May 19, 2017 1:27 pm
by ontheDOL
nps, never hurts to ask ;)