HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Some trigger questions!

05-12-2005, 01:18 PM#1
macho271
First of all, Should I make a new topic for every question I have? Or should I do as im doing now, and just put several questions in one topic?

The questions:

First:
How do I change the tooltips on Gold/lumber/food? I've changed the food and lumber to something else, and its a littlebit stupid when you hold over the lumber and its still lumber even the icon shows something else..
And can I remove the highupkeep thing? Since the value of food is now another resource that can go high in number, I always get the high upkeep message.. :S

Second:
Convert Real to formated string.. "REAL" = number i want to convert, and then its 2 numbers
x, x..
The last one is how many zeros, but whats the first one for?

Third:
I tried to make a trigger that was something like this:
Unit enters region, pathingblokkers will block the entrance..
But, I dont know how to put the pathingblockers out on the map?! I mean, with trigger editor I can put it at points, center of region and so on, but not exactly where I want it, any solution to that? Because I want a trigger that blocks an entrance to a place so that only one player unit can enter it at a time, and when the unit leaves the place is open again..

I hope this trigger is possible in GUI
05-12-2005, 04:41 PM#2
Anitarf
1) You can change upkeep values under gameplay constants.

2) Don't know, never used it before.

3) The trigger is quite possible in GUI. I do not understand what the problem is, you have already indentified all the actions you need to use. Just create the pathing blocker at a point so it blocks the enterance. The easiest way to specify the point is "center of region", and you then place the region where you want the blocker to be to be.

Note: a large pathing blocker is 128*128 units in size, so if you need to create a line of them, and don't want to specify a region for each one's position, you can just place the first one that way and all the others with offsets of that position.