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

stats buff not working , it does the special effect but the units don't get the bu(SOLVED)

Status
Not open for further replies.
Level 7
Joined
Oct 12, 2020
Messages
82
Screenshot (69).png
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,875
Your substring is going from the 6th letter of the chat string to the 5th. What you want to do is 6 -> Length of chat message.
  • Hero - Modify Intelligence of (Picked unit): Add (Integer((Substring((Entered chat string), 5, (Length of chat string))
- = 1
i = 2
n = 3
t = 4
space = 5
6 = the first digit of the integer you typed (if you typed one)
 
Level 7
Joined
Oct 12, 2020
Messages
82
Your substring is going from the 6th letter of the chat string to the 5th. What you want to do is 6 -> Length of chat message.
  • Hero - Modify Intelligence of (Picked unit): Add (Integer((Substring((Entered chat string), 5, (Length of chat string))
- = 1
i = 2
n = 3
t = 4
space = 5
6 = the first digit of the integer you typed (if you typed one)
oops my bad didn't even realize that
thanks for the help!
 
Status
Not open for further replies.
Top