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

[Solved] Object Editor and Variable Strings

Status
Not open for further replies.
However, you can make a trigger that starts up on map initialization, then use an integer variable to make ID numbers for all abilities that you are gonna use. Use the corresponding number in ability array and variable array. Something like this:
  • Events: Map Initialization
  • Conditions:
  • Actions:
    • Set Ability[1] = Fire Blast
    • Set String[1] = Blasts target unit with fire.
    • Set Ability[2] = Grenade
    • Set String[2] = Throws a grenade.
When using the ability, you would do this:
  • Actions: For every loop (Integer A) from 1 to 50
    • Loop: If (Ability Being Cast) = Ability[IntegerA]
      • Then: /use String[IntegerA]
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
is there any possibility of using a variable string, within the description of an item or spell on object editor? :vw_wtf:

situation manually u can assign string variable to item but u cant show in regular item info box because during the game u can manipulate the item description/cost/ability/name

so maybe u can think on use multiboard for show your description about that item or simple write out
 
Status
Not open for further replies.
Top