Page 1 of 1
NPC name
Posted: Sun Feb 24, 2013 7:26 am
by evilband7
Adventurer
[Leader]
Adventurer
[New Member]
Adventurer
[Old Hand]
This 3 kind of npc have a same unit name.
but how to get the npc description ?
Re: NPC name
Posted: Sun Feb 24, 2013 9:18 am
by rock5
Why do you need the description?
Re: NPC name
Posted: Sun Feb 24, 2013 9:25 am
by evilband7
I'm making a lvl44 old bag quest waypoint.
and some of the quest's condition don't allow to cast a skill while there's a nearby leader level adventurer.
now my bot is waiting for the leader level adventure gone but i want to improve a performance by moving to another location without leader level.
but now i think I will leave the npc's description and use the id instead.
anyway, i still wanna know how to get npc's description.
thank you
Re: NPC name
Posted: Sun Feb 24, 2013 9:47 am
by rock5
I don't think there is a way. You would find it as an offset of the id base info but if you already are using the id then there is no point in getting the description as you can use the id to decide what to do. I couldn't see an in game function for it but I'm not sure what it would be under anyway. Normally other pawns don't have a description so what is that extra line exactly? Just stick with the ids I'd say.
Re: NPC name
Posted: Fri Mar 01, 2013 9:58 pm
by wps
That's a good news that someone is looking into this public quest.
Hope there is some workaround for this case.
Re: NPC name
Posted: Sun Mar 03, 2013 11:20 am
by wps
hi~
Maybe we could work together.
I want to help with this quest too, but I'm a newbie here.
If you could let me know your progress and your codes,
I could do the subquests you haven't done yet.
The first question is how to get the extra action information,
just like rock5 did in the invader scripts.
[1] = {Id=496876, Name="Dagger Throw", CastTime=0, Cooldown=15, Range=200, Target="pirate", MinHpPer=10, MaxHpPer=75, ReqBuff=nil, NoBuff=Bleed, },
The second question is the extra action sequest is not constant in this quest.
How to map the extra action sequence to extra action id?
Thanks.