Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-22-2011, 02:10 AM
0PiX0 0PiX0 is offline
Coder
0PiX0's Avatar
Join Date: Jan 2011
Posts: 130
0PiX0 is a jewel in the rough0PiX0 is a jewel in the rough
Quote:
Originally Posted by fowlplay4 View Post
as long as you keep it in the boundaries it will save in the correct spot.
The image displayed should be forced to stay within the boundaries.

e.
Also, while dragging, I think that the player's position should not be able to change, so player.level cannot change while dragging. Not sure if that is an issue or not though since I'm just reading through the code.

Last edited by 0PiX0; 08-22-2011 at 02:28 AM..
Reply With Quote
  #2  
Old 08-22-2011, 06:00 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by 0PiX0 View Post
The image displayed should be forced to stay within the boundaries.

e.
Also, while dragging, I think that the player's position should not be able to change, so player.level cannot change while dragging. Not sure if that is an issue or not though since I'm just reading through the code.
Yeah you're right about that so it forces them inside the boundaries now.

As for the dragging thing, it isn't onPlayerEnters gets called and deactivates the editor.

Quote:
Originally Posted by callimuc View Post
Thats part of the best and most useful things for scripters I think but do you need to change anything in the serveroptions? I mean like for the online level editor the serveroptions also have some stuff to be setted. What about this?

Well anyway rep++ after I can rep again
Nope, all the level security is based around your's and the (npcserver)'s folder rights.
__________________
Quote:
Reply With Quote
  #3  
Old 08-22-2011, 05:13 PM
0PiX0 0PiX0 is offline
Coder
0PiX0's Avatar
Join Date: Jan 2011
Posts: 130
0PiX0 is a jewel in the rough0PiX0 is a jewel in the rough
Quote:
Originally Posted by fowlplay4 View Post
As for the dragging thing, it isn't onPlayerEnters gets called and deactivates the editor.
Ah, alright. I'll definitely try out the OLNE as soon I can. I'm just waiting for a replacement hdd to arrive. I'm betting this tool will make editing level npcs much more convenient, so I can't wait to try it out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.