Page 1 of 1

Survival Build help

Posted: Thu Apr 09, 2009 10:07 am
by ikillforeyou
hi, i'm playing around with survival type maps and i want to know how to pick every item in a fixed area <flame strike spell called build> and if its in a certain combo build the building with it, thanks. i kinda have somthing but its very rough

Trigger name here
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Build
Actions
Item - Pick every item in (Region centered at (Target point of ability being cast) with size (200.00, 200.00)) and do (Item - Move (Picked item) to (Center of (Region centered at (Target point of ability being cast) with size (200.00, 200.00))))

this is not working and it would be a square region, i need it to be a circle. Thanks.

Re: Survival Build help

Posted: Fri Apr 10, 2009 1:15 am
by 3ICE
Why are you moving the items? You need to remove them and create a building where the spell was cast.

And flame strike is the wrong spell. Use the Channel ability instead.

EDIT: Would it hurt to use the trigger tags?
This looks This looks
t_j t_ani a lot better. t_jb t_if Doesn't it?

Re: Survival Build help

Posted: Fri Apr 10, 2009 12:02 pm
by ikillforeyou
kk, but anyhow.. how do i make it count a certain amount of items?

and different combos of items create diff items like lets say.. 1 log makes a log cabin. and 1 stick and 1 stone makes a fire...

Re: Survival Build help

Posted: Sat Apr 11, 2009 1:29 pm
by 3ICE
Just loop through all the items, checking for your combos.

Re: Survival Build help

Posted: Mon Apr 13, 2009 10:01 am
by ikillforeyou
Thanks.