Difference between revisions of "Talk:RL Terrain"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
What about implementation? any ideas there? | What about implementation? any ideas there? | ||
A function might be created that is called every time when something "uses" the terrain. Creature stepping on or missile flying over should call this function. Passed parameters probably would be terrain type and actor affected by the terrain. Also IsFlying flag, if the actor is an item (an arrow behaves differently if kicked or shot). Then a decision is made what effects terrain has on actor and vice versa. |
Latest revision as of 03:59, 19 January 2006
What about implementation? any ideas there?
A function might be created that is called every time when something "uses" the terrain. Creature stepping on or missile flying over should call this function. Passed parameters probably would be terrain type and actor affected by the terrain. Also IsFlying flag, if the actor is an item (an arrow behaves differently if kicked or shot). Then a decision is made what effects terrain has on actor and vice versa.