Clan NoHW
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Clan NoHW

Clan NoHW Forum
 
HomePortalLatest imagesSearchRegisterLog in

 

 trigger for allrandom

Go down 
2 posters
AuthorMessage
chibby
Active Member
Active Member
chibby


Number of posts : 111
Location : germany
Battle.net Name : chibby
Registration date : 2008-08-10

trigger for allrandom Empty
PostSubject: trigger for allrandom   trigger for allrandom EmptySat Aug 30, 2008 12:15 pm

Events
Player - Player 1 (Red) types a chat message containing -ar as An exact match
Conditions
Actions
Trigger - Turn off Random Command
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) slot status) Equal to Is playing
Then - Actions
Set Random_Hero = (Random integer number between 1 and Random_Count)
Unit - Create 1 Hero_Array[Random_Data[Random_Hero]] for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees
Selection - Select (Last created unit) for (Owner of (Last created unit))
Game - Display to (All players) the text: (A player has randomed + (Name of (Last created unit)))
Player - Add -425 to (Player((Integer A))) Current gold
Set Random_Data[Random_Hero] = Random_Count
Set Random_Count = (Random_Count - 1)
Else - Actions
Do nothing
Back to top Go down
Sir_PostsALoT
Admin
Admin
Sir_PostsALoT


Number of posts : 321
Age : 34
Location : Pleinfeld aka Hero Wars City, Germany
Battle.net Name : UnExiledBrandy
Registration date : 2008-05-19

trigger for allrandom Empty
PostSubject: Re: trigger for allrandom   trigger for allrandom EmptySun Aug 31, 2008 4:13 pm

found loads of those triggers in some forums and in some unprotected maps
...but i still can handle the trigger language... (tried the -speed and -time command =P)
Back to top Go down
https://clan-nohw.forumotion.com
chibby
Active Member
Active Member
chibby


Number of posts : 111
Location : germany
Battle.net Name : chibby
Registration date : 2008-08-10

trigger for allrandom Empty
PostSubject: Re: trigger for allrandom   trigger for allrandom EmptySun Aug 31, 2008 6:06 pm

Sir_PostsALoT wrote:
found loads of those triggers in some forums and in some unprotected maps
...but i still can handle the trigger language... (tried the -speed and -time command =P)
http://www.thehelper.net/forums/showthread.php?t=53421
time i think is this
Smile
Back to top Go down
Sir_PostsALoT
Admin
Admin
Sir_PostsALoT


Number of posts : 321
Age : 34
Location : Pleinfeld aka Hero Wars City, Germany
Battle.net Name : UnExiledBrandy
Registration date : 2008-05-19

trigger for allrandom Empty
PostSubject: Re: trigger for allrandom   trigger for allrandom EmptySun Aug 31, 2008 9:22 pm

not exactly that what i ment but... i got the idea to add a time with the elapsed game time... continuous so you dont need the command -time anymore... but i dno how that would look on the top all the time and how it looks when there are 2 timers (game time and duel time)
Back to top Go down
https://clan-nohw.forumotion.com
Sponsored content





trigger for allrandom Empty
PostSubject: Re: trigger for allrandom   trigger for allrandom Empty

Back to top Go down
 
trigger for allrandom
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Clan NoHW :: General Talk :: Hero Wars-
Jump to: