i was wonderin if i can use this function to remove pk_count Code: //used on blak jude quest myself::IncrementParam(talker,9,0); from what i could find at AI: -myself::IncrementParam(talker,0,int); means exp; -myself::IncrementParam(talker,1,int); means sp; so probably -myself::IncrementParam(talker,9,0); is the pk_count after a while i found this one an old file Code: 184746219;void IncrementParam(CSharedCreatureData* to, int nType, int value); which make me think, i can change any CSharedCreatureData via ai, but then i don't know how to check which is the correct nType for them. thx in advance
You need to learn to look in the correct place. manual_pch.txt [PARAM_EXP]=0 [PARAM_SP]=1 [PARAM_INT]=2 [PARAM_STR]=3 [PARAM_CON]=4 [PARAM_MEN]=5 [PARAM_DEX]=6 [PARAM_WIT]=7 [PARAM_LEVEL]=8 [PARAM_PKCOUNT]=9 You can also use directly like this: myself::IncrementParam(talker,@PARAM_PKCOUNT,pk_value);
well actually i thought it might be there, but i take a quick look and miss it, and well this param are the only ones i can change using that command or i can mess with other stuff too?