Saturday, April 21, 2012

How would i make one tile change to another via environment trigger

-----THE TRIGGER----

Heavy Snow

Events

Player - Player 1 (Red) types a chat message containing -hsnow as An exact match

Conditions

Actions

Environment - Create at (Playable map area) the weather effect Northrend Snow (Heavy)

Environment - Set sky to Lordaeron Winter Sky

Environment - Turn (Last created weather effect) On

------------



I want to know how i can make one certain title variable "Dalaran Grass Trim" turn into "Icecrown Ice" Does anyone know how to perform this trigger?

For instance how would i convert a terrain variable to a region variable.|||Quote:






View Post

I want to know how i can make one certain title variable "Dalaran Grass Trim" turn into "Icecrown Ice" Does anyone know how to perform this trigger?




The action is:


Code:
Environment - Change terrain type at (Point) to Icecrown Glacier - Ice using variation -1 in an area of size (size) and shape (shape)


Quote:






View Post

For instance how would i convert a terrain variable to a region variable.




There is no way to convert them - what you have to do is check points on the map in a grid (based on the size of the tile) to first find out which terrain type is there - like so:


Code:
If:
(Terrain type at (Point)) Equal to Dalaran Ruins - Trim Grass
Then:
Environment - Change terrain type at (Point) to Icecrown Glacier - Ice using variation -1 in an area of size (size) and shape (shape)

No comments:

Post a Comment