• 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.

Request for a system...

Status
Not open for further replies.
Level 36
Joined
Jul 22, 2004
Messages
1,002
I need this thing where every five kills from a player, they get a villager that they can sacrafice to the gods. I also need this trigger that i forgot how to do (DAMMIT!) where when the villager enters the sacrificing area, they die and a leaderboard, multiboard-whatever its called shows the amount of sacrifices required unitl the god is content. What i mean is say the god requires 10 sacrifices, there will be a board that tells you and each time a villager goes into the region, the number on the board decreases. When the sacrifices are successfully made, the board is destroyed and the god gives a reward.
 
Level 4
Joined
Jan 9, 2005
Messages
106
will need a few variables, array of course if your talking about multiple people.
E
-when unit dies
C
-unit not equal to peasant
A
-set 'player kills(player number of(owner of killing unit))' = 'player kills(player number of(owner of killing unit))' + 1


E
-when unit enters a region
C
-region = "sacrificial pit"
A
-set 'players_sacrificial_pit(player number of (owner of(triggering unit)))' = 'players_sacrificial_pit(player number of (owner of(triggering unit)))' + 1
-explode/kill/remove triggering unit
-run *upgrade multiboard*


' = variable
" = region
* = trigger

sry I'm just too lazy right now to add in color and open the editor to make sure i worded everything perfectly. the *upgrade multiboard* trigger just refreshes the multiboard(aka set all slots equal to their variable selection and shows the upgraded multi)

and as a side note even the most unknowing triggerers can do these if they just took the 15-30 minutes to play with them some. (takes a more advanced triggerer average of 5-10 minutes to perfect it normally)
 
Status
Not open for further replies.
Top