World of Warcraft Remix

Go Back   World of Warcraft Remix > World of Warcraft General > Newb Help

Reply
Warcraft 3 Triggers: Need help ordering a computer to cast a custum ability?
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2011, 04:53 PM
Max Max is offline
Senior Member
 
Join Date: Jul 2009
Posts: 120
Default Warcraft 3 Triggers: Need help ordering a computer to cast a custum ability?

function Trig_Rashok_Actions takes nothing returns nothing
local unit attacker = GetAttacker()
call TriggerSleepAction(2.00)
call IssueTargetOrder(gg_unit_U000_0020, "fingerofdeath", attacker)
set attacker = null
endfunction

//================================================== =========================
function InitTrig_Rashok takes nothing returns nothing
set gg_trg_Rashok = CreateTrigger( )
call TriggerRegisterUnitEvent( gg_trg_Rashok, gg_unit_U000_0020, EVENT_UNIT_ATTACKED )
call TriggerAddAction( gg_trg_Rashok, function Trig_Rashok_Actions )
endfunction

Tha'ts what I have. I set the ordersting on/off to "fingerofdeath" and I set the activate orderstring to "fingerofdeath" aswell.

My problem involves the unit "Rashok" not casting Finger of Death at my Hero. Also, I set targets allowed for Fingerofdeath to "Heroes".
Any help would be awesome.
Those who have accounts on The Helper forum can find my question there by using "Advanced Search" and type "penultimate".
Hero is meant to be attacker.

Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:18 AM.

A myGamer site.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Blizzard
World of Warcraft ©2004-2008 Blizzard Entertainment, Inc. All rights reserved.
All images and World of Warcraft related content are protected by copyright law and are registered by Blizzard Entertainment, Inc.
This website is in no way related to World of Warcraft, Blizzard Entertainment Inc or any of its associates and partners.