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

Trigger find

Status
Not open for further replies.
Level 4
Joined
Nov 24, 2004
Messages
70
Hi me and a pal are working on a trigger, and we need to find a function that will find the length of a string ex: xXx_Burton_xXx=14 then divide it by 2 and u get 7 then it needs to find the divided # and find the char that is its number ex: 14/2= 7, which equals "R" because r is the 7th char in the name xXx_Burton_xXx. pretty much were jsut looking 4 a way to find the value of a name mid$ and len$. ty this is hard if u can helpout that would be awsome ty.
 
Level 2
Joined
Feb 3, 2005
Messages
11
The only advice I have is to fully explore the option of:
New Condition - Integer Comparision - Conversion: String to Integer
 
Level 4
Joined
Nov 24, 2004
Messages
70
acutally i just found it like 10 mins after i made this post last night lol, it was in set variables, and i changed it to String length that exist right below For integer B Do Actions, then friom there u can divide the string by 2 and soo on...but ty 4 your help eh.
 
Status
Not open for further replies.
Top