Special Tiles?
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Special Tiles?
So... I actually got this idea from the list of things NOT to suggest under the ideas forum. Specifically, it said not to suggest a building function, BUT it said that individual campaign designers could include special buildings, such as a healing fountain. I was wondering how one would go about including a special building in a campaign.
Re: Special Tiles?
By event that modifies unit health - turn refresh is time of usual healing. Visual side can be done by adding fountain image to map, or defining fountain terrain type.
Re: Special Tiles?
@Ravana
Alright. Any ideas about how to program the event?
Alright. Any ideas about how to program the event?
Re: Special Tiles?
See these:
https://wiki.wesnoth.org/EventWML#turn_refresh
https://wiki.wesnoth.org/DirectActionsW ... al_unit.5D
If you define a custom terrain, you won't need events. Look at the oasis terrain in mainline for example.
https://wiki.wesnoth.org/EventWML#turn_refresh
https://wiki.wesnoth.org/DirectActionsW ... al_unit.5D
If you define a custom terrain, you won't need events. Look at the oasis terrain in mainline for example.
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Special Tiles?
Moved to the WML Workshop.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code