![]() |
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? |
Would like this.
|
I'd actually like a lot more ability to work with the default level data. Right now, for example, there is no way to disable default signs and no way to access the data clientside. That means in order to make a custom sign system you'd have to script the actual signs themselves(and why change a function many are familiar with?). I want to be able to make custom systems that work backwards compatible with the default systems for developers, but Graal doesn't make it easy.
|
Great suggestion, I agree. Would be nice to also disable default linking somehow.
|
I totally agree that this suggestion would be an useful addition, always wanted an easier way to trigger screen effects on exiting a level
|
Quote:
|
Quote:
|
Nice idea, probably won't be implemented for another 3+ years.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 11:00 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.