• 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.

Can we use channel with AI and why do u create dummy in map init

Status
Not open for further replies.
I heard to we cannot use channel spell with AI or triggers so can u make it 100% clear, just can we or cannot.

About dummy in map init, I have seen to many of u are creating dummy unit in map init trigger and add it custom hero spell and then remove that dummy. This removes leaks for later using spell, or just first. Does I need to order dummy to cast that spell on just to give spell to dummy and then remove dummy unit. Does I must to do this to all my custom spells?
 
When u first get or when u first cast spell?
Does I need to create dummy and add it spell if my main hero has that spell form very start of the game(hero has that spell in Object editor). Does I using that dummy if later I have action: add spell Name, so,ething like spell book, or like if I have disabled spell and later I want to enable it
 
Level 11
Joined
Nov 15, 2007
Messages
800
To answer your first question: Yes. Just issue whatever the base order ID of the channel spell is via trigger and it will cast.

I believe you'll still need to specify the proper target, though. So even if your Channel based ability with the base order ID of Chain Lightning is an Instant or Point Target spell, it will expect a unit target. So best to use a base order ID that corresponds to the proper targeting.
 
Level 19
Joined
Feb 25, 2009
Messages
2,004
Spells with levels below or 5 need preload for FIRST cast.
Spells with levels above 5 need preload for first LEARN.

When preloading be aware that the dummy can hold a maximum of 6 spells
And it is highly recommended that you pause the game somehow or at least add a small interval with waits between different type of preloads.

Also it is flavored among modders that SFX's as well are preloaded along with the abilities.
 
Status
Not open for further replies.
Top