Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Come and join our gamer community by
registering for free here
Other Gaming Forum
PC games
WarCraft III Modding
Spells - Frequently Asked Questions (FAQ)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Daelin" data-source="post: 115489" data-attributes="member: 5892"><p>Will, to get a random point around the hero use PolarOffset and for the distance use a random real between smallest and highest distance of the possible explosion. For angle, once again, random real between 0.00 and 360.00. That's all!</p><p></p><p>And as for random timing (what you said Fladian) here is the idea:</p><p>Event - Every x seconds //in place of x use the smallest interval between which the trigger may repeat</p><p>Conditions - Random Integer Between 1 and 20 is equal to 1 //Change 20 to a lower value if you want the event more frequent, or higher if you want it less frequent</p><p></p><p>~Daelin</p></blockquote><p></p>
[QUOTE="Daelin, post: 115489, member: 5892"] Will, to get a random point around the hero use PolarOffset and for the distance use a random real between smallest and highest distance of the possible explosion. For angle, once again, random real between 0.00 and 360.00. That's all! And as for random timing (what you said Fladian) here is the idea: Event - Every x seconds //in place of x use the smallest interval between which the trigger may repeat Conditions - Random Integer Between 1 and 20 is equal to 1 //Change 20 to a lower value if you want the event more frequent, or higher if you want it less frequent ~Daelin [/QUOTE]
Verification
Post reply
Other Gaming Forum
PC games
WarCraft III Modding
Spells - Frequently Asked Questions (FAQ)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top