![]() |
A couple of script requests
It would be nice if we could request and send the text contents of a file with commands like:
requesttext("file", filename) sendtext("file", filename, contents) Also, I would like to see something like: npc.origx and npc.origy Where we could get the original x and y of an NPC. I think these should be rather simple to implement, and with this done I could come up with a pretty decent online level script editor. |
function onCreated() {
this.originx = x; this.originy = y; } |
Quote:
The origx, origy thing isn't totally needed (I could still generate some type of dropdown menu given the text contents of a file), but having it would make things more like the offline level npc editor. |
Quote:
Wouldn't be a difference, really. When you move an NPC, simply save its position before moving it, which in turn would be your original coordinates. You'd have to a bit more elaborate to explain exactly why you couldn't do it this way. |
Quote:
|
Quote:
If I wanted to go up to some random NPC and edit it online, I would need its original x and y to be able to pull out it's script. I'd like to state again that the origx,origy feature isn't totally needed, but the request/send text one would be great to have. |
The original position is mainly required for editing local npcs?
|
Quote:
|
| All times are GMT +2. The time now is 02:41 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.