• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] make a dummy spell

Status
Not open for further replies.
Level 5
Joined
Nov 6, 2008
Messages
150
hey
how to make a dummy
item ability?
this is what im need this to a wish stone.
you use the wish stone and puf you got a wish.
i have to make the dialog trigger but have to make the item ability????
plzz help!
 
Level 5
Joined
Nov 6, 2008
Messages
150
okey....
ooh
i think i could say this in that way.
im need a trigger so when a unit use the wish stone item
so will my other trigger starts.
you understand me or not?
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
Try this:

  • Wish
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to WishStone
    • Actions
      • -------- Base your item ability on some no target spell --------
      • -------- Functions below will show one random wish --------
      • -------- Note: N is number of your wishes --------
      • Set TempInt = (Random integer number between 1 and 10)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempInt Equal to 1
        • Then - Actions
          • Set TempPlayerGroup = (All players matching ((Matching player) Equal to (Owner of (Triggering unit))))
          • Game - Display to TempPlayerGroup the text: Wish 1
          • Custom script: call RemoveForce(udg_TempPlayerGroup)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempInt Equal to 2
        • Then - Actions
          • Set TempPlayerGroup = (All players matching ((Matching player) Equal to (Owner of (Triggering unit))))
          • Game - Display to TempPlayerGroup the text: Wish 2
          • Custom script: call RemoveForce(udg_TempPlayerGroup)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempInt Equal to N
        • Then - Actions
          • Set TempPlayerGroup = (All players matching ((Matching player) Equal to (Owner of (Triggering unit))))
          • Game - Display to TempPlayerGroup the text: Wish N
          • Custom script: call RemoveForce(udg_TempPlayerGroup)
        • Else - Actions
      • -------- If your item has only 1 wish to display, remove tempint variable and if/then/else functions --------
 
Level 5
Joined
Nov 6, 2008
Messages
150
can you do that more easy??
i have make the wish trigger.
and there is so meny thing i dont understand on that trigger.
Im new in the world editor
and i know that is a hard thing to do but i hate to drop a pjotek.
so can you do that a litter bit easy???
 
Level 9
Joined
May 30, 2008
Messages
430
first of all he don't know how to set item to be usable second he doesn't know how to add ability to the item and third he doesn't know where to add at condition his ability as i say "ignored" your incompetence is not my fault go read tutorials there are alot of them in this site and please use the google translator it's good tool if you don't know english
 
Level 11
Joined
Nov 15, 2007
Messages
800
Web translators are a joke. No need to be rude to someone just because they're not a native English speaker, when clearly other people want to help.
 
Level 5
Joined
Nov 6, 2008
Messages
150
okey so i try for last time
edit dont work i post my map
 

Attachments

  • (2)BootyBay.w3x
    4.8 MB · Views: 38
Status
Not open for further replies.
Top