Warcraft III resources & community, 2003–2006 · archived

Need help with several multi function triggers

5 posts
#1

Need help with several multi function triggers

I need to create the following triggers which are activated by these commands:
zoom 1-5000
(sets camera height)
setstat (agi,str, or int) 1-100
sets agility, strength, or intelligence to the number

i want to know how to make these triggers work so players type in command and the trigger works for every number between the maximum and minimum.
#2
If you personally dont know the answer maybe somoene could give me a site that has the answer, i need to be able to create these triggers very soon for my map

if my 1st post was confusing heres what i want to do:
create triggers to adjust zoom based off of a text system
zoom 1-5000
Normally with text you have to do each and every # but i know there is a way to create 1 trigger that recognizes all numbers and saves ALOT of time for me. If you have any idea how to do this please post it here
#3
Substring(6, (Length of (Entered Chat String)))
will get you the number in zoom, just convert it to integer.
#4
Im not sure if i understood you correctly :/

i came up with
Player-Player 1 (red) types a chat message containing (substring(zoom,6,(length of (string((Length of entered chat string)))))) as an exact match
:shock:
#5
Ok the trigger i made doesnt work at all, i rlly need someone to clarify this for me :cry: