Warcraft III resources & community, 2003–2006 · archived

Force-cast from a spellbook?

7 posts
#1

Force-cast from a spellbook?

Is it possible to make a unit force-cast a spell from a spellbook? I wanted to have 5 spells in a spellbook and have the casted simultaniosly, but i can seem to get the spell to fire iv tried:

A unit enters (playable map area)

Unit equal to dummy spellbook

Actions

Order (entering unit) to cast Dummyspell 1 on Entering unit

Order (Entering unit) to cast dummyspell 2 on (entering unit)

so on so fourth. But it wont cast from a spellbook, i realize they alternative of creating 5 dummies, but that becomes a hastle to handle because there always there.
#2
Ehehe... I don't see your problem but if you are worrying about giving a dummy unit 5 different abilities. Explain what exactly you need since I didn't get, especially the last part. And btw, if you are wondering about dummy units not disappearing, just add the Expiration Timer to them.

Create 5 dummy units (based on the same dummy unit), and for each give an ability (Unit - Add Ability action).

~Daelin
#3

...

As i said that gets messy heres what i want: One unit with 25 abilities (5 spellbooks with 5 abilities) for 1 dummy unit, making 25 dummies would make a big diffrence in lag for say? 8 players? Why such a stupidly large number for one unit? Because i dont want 8 players all getting 2 towers that spawn 25 / remove 25 units. 400 units does cause lag, and the tower that uses this spell is the most expensive, but im expecting a few per player twords end rounds.
#4
Every spell has an order string right? Just use Unit - issue order targeting whatever. And people have been forgeting that there is no particular function to make a unit cast a specific ability.
#5

...

ArcanisteREvery spell has an order string right? Just use Unit - issue order targeting whatever. And people have been forgeting that there is no particular function to make a unit cast a specific ability.


Well i dont quite get how this helps? And there is a way to force a unit to cast a specific ability:
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Damage source)

But they cannot be customs, unless theres something in jass.
#6
They can be.

You just need to command the unit to use the base spell.

For example, you can make a custom shockwave and ask the unit to Tauren Chieftain - Shockwave.
#7
They can be custom as long as string is the same