What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

UseItem on npc corpse?

Gunmetal

New Member
Joined
Nov 10, 2010
Messages
151
Reaction score
2
is there any behavior that will let me use an item on an npc after i kill it? I'm working on some quests profile and a few quests want me to plant a banner on a dead body after I kill the mob.
 
Yep.

PHP:
		<PickUp QuestName="Re-Cursive" QuestId="11712" GiverName="Jinky Wingnut" GiverId="25747" />
			<If Condition="HasQuest(11712)" >
				<CustomBehavior File="UseItemOn" QuestId="11712" ObjectType="Npc" MobId="25814" ItemId="34973" NumOfTimes="6" WaitTime="6000" CollectionDistance="1000" X="4152.145" Y="5133.038" Z="14.36886" />
			</If>

since it's not "combatuseitemon" it uses it after combat has ended :)
 
Last edited:
perfect, thanks!

now I'm trying to useitem on a mob before combat...combatuseitemon appears to only be for a specific quest. Useitem only appears to work on stationary mobs? I'm doing "Shattering the Veil" where I throw a stone at these elementals and they break into smaller mobs that I have to kill...any suggestion?

actually seems I can throw the item during combat as well...
 
doesn't work atm, i'm currently having someone look into writing a new one, that allows it to have a castrange as well!
 
perfect, thanks!

now I'm trying to useitem on a mob before combat...combatuseitemon appears to only be for a specific quest. Useitem only appears to work on stationary mobs? I'm doing "Shattering the Veil" where I throw a stone at these elementals and they break into smaller mobs that I have to kill...any suggestion?

actually seems I can throw the item during combat as well...

I have asked someone to make a CB with an "InteractRange" on it... to UseItemOn and make CombatUseItemOn actually work

I just have to see when they'll have it finished :)
 
cool, guess I just have to add in a dialog to do this one manually for now...thx for your input
 
Back
Top