HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

2 simple triggering questions

06-07-2004, 10:25 PM#1
TheBanner
1. How do i get creeps to respawn like they do in the fforpg (how they only spawn wen unit is around and they group up to the units, and only in that area)?

2. How do i make an item that transports you into another region (like the airship passes in fforpg, but I want to be able to go to anytown instead of the next one with a different item for each town.)?
06-07-2004, 10:30 PM#2
PatruX
2. Use Staff of Teleportation?
06-07-2004, 10:54 PM#3
TheBanner
How would that work when i have to have them go to a region and not have them pick where to go.
06-07-2004, 11:55 PM#4
johnfn
Events
Unit - A unit uses an item
Conditions
Item type of item equal to [whatever]
Actions
Unit - Move unit to [your region]

Easy as that.
06-08-2004, 12:36 AM#5
Nabren
As for respawning, you can create your system as basic or advanced as you would like. A basic system would be to just compare elapsed game time and spawn units when it reaches your set time(and to avoid clutter, do a check and see how many units are in that region, if it is above a limit you set, you don't spawn anything).

As far as FFORPG's, that system is a little weird(I haven't unprotected it out of respect) but from what it seems is it only spawns units if there is a hero in that region as a different way of avoiding clutter.
06-08-2004, 09:47 PM#6
TheBanner
Do you think you can give me some code for this?