HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

NEED Help with 2 Triggers !

05-11-2004, 04:46 PM#1
DarkMinnion
I need help with the -repick trigger and a Random Item Drop on death of random unit.

Pls help guys ! o_O
05-11-2004, 04:55 PM#2
PatruX
1) Explain more about that "-repick" trigger, Hero Arena map?

2) You can do that by dubble clicking on the unit and go to Item table
05-12-2004, 06:07 AM#3
DarkMinnion
Ok the items i know how to make them drop random items and how to drop items based on % chance but what i want is when i say have a trigger like this "create 1 footman create 1 archer at region 1234 then i say order - last created unit to attack move to region 4321" but the unit that spawns from trigger 1 must randomly be given items that they can drop when killed, like i have seen random item drops in Tides of Blood like shields n swords etc


Ok i am using the Velerian Hero pick system, but lets say i pick a Hero and do not want that Hero i want to be able to type -repick as a substring and the hero created for me is removed from the game and becomes available for picking again and i am able to repick a new Hero. I have played around with the triggers and managed to sorta get it right the only way i found it possible was to say "(EVENT) player ? types -repick as a substring, (CONDITION) Triggering unit is a Hero equal True, Owner of triggering unit is triggering player, (ACTION) Remove last created unit. But what happens is if i type that it removes the last created Hero for the last person to pick and not for the player that typed the message.

One more thing how do I post maps I have a AoS - Type map I would like to post and get a review on it is my 1st map and have already started working on a new map but would like to make alot more complex triggers and things liek random items spawning when a creature gets killed also maybe base items levels based on creature levels etc.

Once again just wanna say thanks to you guys for hosting this site is has been of great help to me, if i was a millionare i would definitaly donate a few hundred thousand to your projects so hopefully one day I will be a millionare and will be able to keep my promise anyway thanks again guys !
05-14-2004, 01:34 AM#4
TheBanner
If I am understanding your ? right you can set the item table for it to drop a random item on death. Just double clik on the unit and set make a new item table.
05-14-2004, 01:46 AM#5
johnfn
The -repick is easy enough. Simply remove the hero from the game, give him another picker unit through triggers, and lastly make the hero pickable again.


If you no understand, just tell me. Ill be glad to help out your triggers.
05-14-2004, 06:29 AM#6
DarkMinnion
Hey again ok I understand about the random items on a existing creature on the map, but what i want to know is if I use a trigger to spawn creatures for instance example (Event:Every 20 seconds of game time) (Condition:Life of Barracks1 equal to or greater than 10) (Action:Create 1 footman at region BlaBlaBla, Order last created unit to attack move to Wherever) ?? Now this trigger obviously has alot more creatures spawning at a time but what I would like is for the creatures that spawn from this trigger if one of em get killed that they might drop a item from a specific item table (footman has a 20% chance to drop a tomb of strenght) (Captain has a 20% chance to drop tomb of agility) I will not be using the item drop on existing creatures that is easy to do what i want is like in a aos type map where units get spawned, the spawned units must drop random item from random units, I kinda got it working once that random creatures get items to drop but the problem was that when the chosen units died the tomb got dropped in the middle of the map not at the position where unit died. o_O Thx for trying to help man if we get random items working im sure it will be worth a point LOL, heh thanks again for trying ! :D