wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 9:50 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: May 29th, 2007, 4:21 pm 
Offline
Junior Member

Joined: May 2nd, 2007, 3:37 pm
Posts: 25
Location: Wherever I am.
Title: The Crazy One
Okay, I'm working on a map. Technically, an arena. I want to be able to change the spawn rate ingame from 5 to 30. I did this a hard way, but it was still messed up, because as I typed sentences with "spawn" in them, my trigger gave me back my error message I put in. Can someone write up a code including substrings so player 1 (red) can type in "spawn #" being from 5 to 30 for me? Thank you, very much!

- Net_Creator
Vuen's Substring-annoyed Dungeons and Dragons Administrator

_________________
Below statement is true.
Above statement is false.
-----
Mindboggling? Nah.

Net_Creator
Vuen's Dungeons and Dragons Administrator


Top
 Profile  
 
 Post subject:
PostPosted: May 30th, 2007, 11:18 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
I am not really sure what you're asking... if you could go into more in-depth detail on what we are spawning, where, why.. and uh. yeah :p

Edit: ok I reread it. lol.

events - player types -spawn as a substring

actions spawn (number = substring > entered chat string > 7,10) should work fine.


Top
 Profile  
 
 Post subject: Thanks!
PostPosted: May 30th, 2007, 9:28 pm 
Offline
Junior Member

Joined: May 2nd, 2007, 3:37 pm
Posts: 25
Location: Wherever I am.
Title: The Crazy One
Thank you a lot. Here, I copied my action. Take a look. :)

If ((Substring((Entered chat string), 1, 8 )) Equal to setspawn) then do (Set x = (Real((Substring((Entered chat string), 10, 13))))) else do (Game - Display to (All players) the text: |CFFCC0000Oops! Sor...)

_________________
Below statement is true.
Above statement is false.
-----
Mindboggling? Nah.

Net_Creator
Vuen's Dungeons and Dragons Administrator


Top
 Profile  
 
 Post subject:
PostPosted: May 30th, 2007, 10:45 pm 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
I dont really... know whats wrong, =/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)