
11-16-2009, 08:14 PM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
onPlayertouchsLink()
|
onPlayertouchsLink(id) {}
A function that is called when a player touches a link, and is processed before the player is warped out of the level. id = the id of the link itself, so we can access the info like the destination level and such. Why? To make links a bit more workable with custom systems perhaps, or to maybe add screen effects when the player exits a level, for example. And maybe the ability to cancel the link's effect? |
|
|
|