![]() |
TTileMap.saveasimage()
Quote:
|
Can't find it in my scripthelp :(
|
"/scripthelp screen" brought it up.
|
Maybe.. level.tiles.saveasimage("testmap.png", 1, true); ?
|
Doing it on a level that doesn't belong to a gmap spits out an error on RC (Function not found). Doing it either on the level object itself or on the tiles object doesn't cause an error, but it doesn't create an image either. I tried it several times using different ways, also using the full path to the file, making sure the npc server had rw rights to that path; no success so far.
|
Have you tried it on a gmap itself?
|
Quote:
|
Well I'm curious as to where it WOULD save, seeing as you're not specifying. Did you check your Graal folder? Screenshots, map folder? Scripts folder(or wherever server script data reverts to).
|
I went through everything already :(
|
did you try player.gmap.tiles.saveasimage("testmap.png", 1, true);
|
Well I'd guess the feature is only half-implemented and probably requires instantiating a TTileMap which only Stefan knows how to do.
I personally couldn't find the scripthelp for TTileMap on Zodiac so I guess it's coming with a new npcserver update. |
Normally this is not part of v6 yet, it's only in testing phase.
|
Normally? How can we unnormally use it?
|
was this ever made available?
|
It is not public yet.
|
| All times are GMT +2. The time now is 07:26 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.