• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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