HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

chat triigers even possible?

11-14-2002, 06:52 AM#1
311
im trying to make a map where i get heald bentering a certain region and have a certaion amout of gold and type. Ive tried many thing but they dnt seem to work. heres 1 thing I tried

1st part:
event- unit enters region
condition- player has at least 10gold
action - display msg would u like a full heal for 10gold type yes/no
action- run trigger "heal"

heal trigger:
event: in heal region
condition: types yes
conditon: has at least 10gold
action: set health to 100% of triggering unit (i want the entire team but how?)

ive tried so many other things includint taking out the chat the girl will say and tried this simple trigger still dnt work!!
event: player types heal
conditon : has 10 gold
action: set life 100% of triggering unit

how can that not work!!!^ even though i want the 1st 1 more
11-14-2002, 08:26 AM#2
Myster Mystery
Hmm, yours should work... I'll show you mine anyway.

Events
Player- Player enters chat messege containing heal as an exact match

Conditions
Boolean comparison- Dude is in (heal region)
Integer comparison- Player 1 current gold greater than or equal to 10

Actions
Unit- set Dude's life to 100%
Player- Set (player 1)'s gold to (Gold of Player 1 - 10)
Special Effect (cuz you have to have one)- Create a Special effect attatched to the chest of dude using "Abilities\Spells\Items\AIvi\AIviTarget.mdl"

What you had should have worked... though I do think you should have done an action to actually take away the gold. And 10 gold isn't much of a price for a full cure...
11-14-2002, 09:44 AM#3
311
when you say dude u mean triggering unit? cuz I try that it just dnt work. and special effects I can never ever seem to get to work I dunno why like ill try do thunderclap or whtever but it just dont do it. your trigger is exacly like my 2nd one and it dont seem to work. my 1st trigger I mentiond almost works the 1 split into 2 triggers I know it runs the 2nd trigger like it should cuz I added show chat msg fdgdfg just so I can see how far my trigger goes that works everything works about it except the heal (the main part) I walk to the region she tells me to pay 4 the heal I type yes but nothing will happen ive tried so many ways to put it
action- set life of triggering unit to 100%
action - set life of matching player unts to 100%
action- set life of units in region to 100%
few others to I forget but none work at all



also is their a way to learn a lvl 6 spell at lvl 1?
I want it so whn I get my certain unit at lvl 1 he has mass teleport already (theres no creep version) so I cant just do that. I dnt want to make him lvl 6 whn he comes out because he will be over powerd cuz he will have so many skill points to spend and I get him fairly early. I tried learn mass tele at game start (if hes not 6 it dnt do anything) and I tried learn mt but then set lvl to lvl 1 that didnt work at all he stayd at vl 6

also why are cameras so hard!!!! all i want is a simple spin around the badguy and I cant even do that lol
11-14-2002, 10:59 AM#4
Myster Mystery
No, you can't use triggering unit for that, as there just, well, is no unit that is triggering anything. It is being triggered by a chat messege. That there is your problem. When I said dude I just meant whichever unit that you has to be in the region and get healed. Sorry for not being clear on that.
11-15-2002, 03:14 AM#5
weaaddar
wrong forum!
11-15-2002, 03:37 AM#6
311
thnks myster, alot more help then this weaaddar guy, and he calls himself trigger master pffft, seems your the only 1 who really helpd thanks again :) hope you can help on my other questions, again sorry bout the wrong forum