• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

What does this function do?

Status
Not open for further replies.
Level 2
Joined
Jun 5, 2011
Messages
24
FQBtsZr.png

It looks like a recent function, but I have no idea what it does.
There are other functions that don't allow you to select a value, and I have no idea what it is.
 
They change the value of fields in spells for units. Boolean field would be something like "check requirements: true/false". You can set real fields (things like damage, duration, etc.), integer fields (mana cost), string fields (sfx paths), etc. for any spell currently on a unit. This will be permanent for that unit until you change that field to something else. This allows for real-time editing of spell fields to account for things like hero attributes.
 
They change the value of fields in spells for units. Boolean field would be something like "check requirements: true/false". You can set real fields (things like damage, duration, etc.), integer fields (mana cost), string fields (sfx paths), etc. for any spell currently on a unit. This will be permanent for that unit until you change that field to something else. This allows for real-time editing of spell fields to account for things like hero attributes.

Can you make a simple example of how to use it?
 
Maybe something like this (which would make the game ignore any required upgrades for that ability):
  • Ability - Set Ability: (Unit: Ghoul 0006 <gen>'s Ability with Ability Code: Cannibalize)'s Boolean Field: Check Dependencies ('achd') to False
Other options for this function are useless anyway.
 
Status
Not open for further replies.
Back
Top