• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

how can i ,,,

Status
Not open for further replies.
now do you want to model it on? so its ther for ever? because u canm do it using triggers....
 
There's the event "Player - Chat Message" in the event-list. Then, as action, SetVariable and an If/Then/Else-Function (if: string comparison)

Example:
(we think player 1 types "-duel arena1)

Event: Player 1 (red) types a chat message containing -duel as A Substring

Action: Set Region1 = (Substring((Entered chat string),7,12))

<here the trigger refers to the word "arena1", region1 is a simple string variable>

2. Action: If (region1 Equal To arena1) Then (Move Unit To Region) Else (Do Nothing)

Hope you understand that, else I'll type it more detailed.
 
Status
Not open for further replies.
Back
Top