View Single Post
  #755  
Old 12-22-2010, 07:06 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Perhaps not so much of a bug but I knew that within V5 while on a GMAP showimg type displays would not display while the parent NPC was not visible on your screen, this now seems to be the case with non-GMAP levels too in V6, for example:





I've since noticed it is possible to prevent by setting a shape on the NPC but would it be possible for there to be some form of server option or npc variable to prevent this?
Setting a shape doesn't solve the problem of NPCs that display things on your screen similarly to a HUD not working properly as a result of the NPC itself not being visible, which happens in our Spar Arena for instance.

I've also now noticed that you have to be more careful with variable names, for instance in one weapon script I had:

PHP Code:
function onCreated(){
  
dash this;

In another weapon script I had:
PHP Code:
if(dash != NULL){
  
temp.dash dash.attemptDash();
  if(
temp.dash){
    return;
  }

In V5 this worked fine but in V6 this caused the global variable "dash" to be set to NULL after the first time the function was called, I figured it would be because of the temp.var also being named "dash" and changing it fixed it but is this supposed to be happening now?

Last edited by ffcmike; 12-22-2010 at 10:39 PM..
Reply With Quote