![]() |
Request: getfilepath(file)
Would return the filepath of the file. [If not a file, make it level please!]
|
I'm pretty sure that is just a way to format a string.
Like if you have: "levels/images/block.png" And put that into the function, it would return: "levels/images/" |
Quote:
Well, there is always the /find command on RC that does this already, though that probably wouldn't help you if you were scripting a system or so. I guess it would depend on what you would need it for. |
Yeah, scripting purposes... :[
|
There is findfiles(pattern,recursive) which also gives the "full" path
|
GraalScript: Function findfiles not found at line 18 in script of Control_LevelGenerator
:[ |
Quote:
|
Quote:
Edit: By the way, I would just love to be able to add in global functions. |
Quote:
Didn't bother to look it up :P |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 02:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.