• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to make a Talk item?

Status
Not open for further replies.
Level 9
Joined
Apr 3, 2008
Messages
700
I have such system in my unfinished OPRG :D
But it's on jass.

Where is the problem?
As I remember it works by this way:
__________________________________________________
Event: Generic unit event - unit uses an item

If: itemtype of item being manipulated == ***

Actions: Dialog - show dialog to triggering player
__________________________________________________
 
Level 3
Joined
May 6, 2007
Messages
32
Wut an odd Q. making an item talk...
Use a trick i use all the time:
Give an item a targeting ability: Eg firebolt. <-- make sure its stun is set to 0.01 and dmg is set to 0
If the target is invulnerable, tick the targets allowed to invulnerable only
(if its both use, targets allowed: Invulnerable, Vulnerable)
also u want to allow targets to be allied or friend w/e u prefer.
Sooo example would be:

Events
Unit - Uses an item
Conditions
(Item type of (Item being manipulated)) Equal to *Item*
Actions
Dialog - Show *Dialog* for *Player*

----
Thats the basic anyways.
If you dont know how to make a dialog, u can pm me.
 
Level 3
Joined
Dec 28, 2008
Messages
35
a talk item is easy

Event: A hero uses Item
Condition Equal to the item
Action: Play Sound On Ur hero
Action: Floating Tex wut ever its gona say
Action:wait 2 secs
Action: Destory last Flaoting TExt there :p simple n easy
 
Level 3
Joined
May 6, 2007
Messages
32
I can do as Ancient_Mystic said, if I use the trigger like if he use it on someone thats not player 11, the magic stop.

Is there a action like that? Tell me if it is!

Sorry, I can't really understand your English. But from what I can make out,
You want the trigger to only work on units owned by Player 11?
Simple-
Add this condition to the trigger that responds when the item is used.

Condition
(Owner of (Target unit of ability being cast)) Equal to Player 11 (Color)

This will then check to see if the targets are owned by Player 11. If not, then nothing happens.
-Also note that the event must be/ should be

Event
Unit - A unit Beings casting an ability

Unknown at this point:
A like condition should be present:

Condition
(Ability being cast) Equal to *Your Spell*

This ensures you that when a different ability is being cast, it won't start this talk trigger.

Hope that explains what your asking for.
Happy map making!

~ Ancient
 
Status
Not open for further replies.
Top