wc3edit.net

United Warcraft 3 map hacking!
It is currently January 6th, 2009, 9:38 am

 

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Need help making a triggered spell
PostPosted: October 24th, 2008, 12:16 am 
Offline
Member

Joined: February 25th, 2008, 2:56 am
Posts: 85
Location: Los Angeles
Title: Sir Awesome
Unlike most of you guys, I don't like just putting in the cheat codes for maps. I like to go in, and rig a character or something. lol

I'm trying to copy that move juxtapose from dota, and put it into a version of Enfo's.

Except I'm trying to make it so that 35% of the time, when my hero is attacked, an image of it will spawn for 20 seconds.

Idk how this would work. I got most of it (i think) down. I just don't know how to set it to 35% of the time, and how to make the images.

I looked around, and figured out to have a dummy unit cast the spell. SO i made a little peasent have this item i made to do it, but that wont work either, and idk why.

_________________
I'm making an ORPG, but I need help! Contact me in some way and help out!
Together, we can kill DotA!

Image
Credz - Dekar-The-Honarary-Bomb


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 24th, 2008, 4:01 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2530
Location: Nevada (North)
set x = random number from 1 to 100

if x = 1-35, spawn one mirror for x at x

_________________
Image

Perma-retired until my blue/green status is returned or more.


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 24th, 2008, 6:06 am 
Offline
Member

Joined: February 25th, 2008, 2:56 am
Posts: 85
Location: Los Angeles
Title: Sir Awesome
Ok, so idk if I got this across too well on tha last post, but I'm kinda new at the whole WE thing.
If I went in, would I find that pretty easily?

_________________
I'm making an ORPG, but I need help! Contact me in some way and help out!
Together, we can kill DotA!

Image
Credz - Dekar-The-Honarary-Bomb


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 26th, 2008, 6:42 am 
Offline
Admin
User avatar

Joined: November 19th, 2007, 5:05 am
Posts: 1857
Location: The Other Place
Title: Winterbells Master
Probably not, :lol:

Here's a more thorough walk-through:

Firstly, open trigger editor. Then go to variables, (yellow X on top), and create an integer, (default 0).

Now create a trigger, (your events & conditions), and then search for Set, and select Set Variable, and pick the variable aforementioned.

What you set it to: Math - Random Number, (between whatever and whatever).

Next, search for If; select If/Then/Else - Multiple Functions.

Create a condition; Integer Comparison, choose your variable, and then click on the number, (default 0, I think), and pick Math - Random Number, and x through y, (example, 3 through 7). Then have your functions in Then, and if it doesn't equal that, well, just do this entire thing over again, and just pick a different x through y.

I think this is a little confusing for a beginner, :lol:

_________________
Image

Hey, have you heard?


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 28th, 2008, 2:05 am 
Offline
Member

Joined: February 25th, 2008, 2:56 am
Posts: 85
Location: Los Angeles
Title: Sir Awesome
Thx bro.

Xantan said some like when x = w/e spawn one mirror of x at x. where do i get this spawn one mirror of x at x?

i think i could figure it out, but any help would be greatly appreciated.

_________________
I'm making an ORPG, but I need help! Contact me in some way and help out!
Together, we can kill DotA!

Image
Credz - Dekar-The-Honarary-Bomb


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 28th, 2008, 2:17 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2530
Location: Nevada (North)
unit --> create unit --> with expiration timer, or create copy of unit... ummm how do they do mirror image? Just use those images...


=/

_________________
Image

Perma-retired until my blue/green status is returned or more.


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 28th, 2008, 5:32 am 
Offline
Member

Joined: February 25th, 2008, 2:56 am
Posts: 85
Location: Los Angeles
Title: Sir Awesome
Lol, thanks guys. I know I probably seem like an idiot, but whatever.
Thanks for all the help. :D

_________________
I'm making an ORPG, but I need help! Contact me in some way and help out!
Together, we can kill DotA!

Image
Credz - Dekar-The-Honarary-Bomb


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 28th, 2008, 7:19 am 
Offline
Admin
User avatar

Joined: November 19th, 2007, 5:05 am
Posts: 1857
Location: The Other Place
Title: Winterbells Master
Nah, should've seen me trying to make my first map. Didn't even understand what regions were, :P

_________________
Image

Hey, have you heard?


Top
 Profile  
 
 Post subject: Re: Need help making a triggered spell
PostPosted: October 28th, 2008, 11:17 pm 
Offline
Member

Joined: February 25th, 2008, 2:56 am
Posts: 85
Location: Los Angeles
Title: Sir Awesome
Haha, takes time to be good at stuff. I'm just kinds tryig to figure out how all if the GUI triggers work and whatnot.

_________________
I'm making an ORPG, but I need help! Contact me in some way and help out!
Together, we can kill DotA!

Image
Credz - Dekar-The-Honarary-Bomb


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 © 2000, 2002, 2005, 2007 phpBB Group

Privacy Policy Statement
Impressum (German)