View Single Post
  #24  
Old 08-24-2011, 08:50 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
I need instructions to reproduce the error with images.
  1. Open the script editor on any npc.
  2. Set this (or similar) as the script:
    PHP Code:
    //#CLIENTSIDE
    function onCreated() {
      
    showimg(300"block.png"this.xthis.y);

  3. Change the npc's default image from "*.png" to ""
  4. Apply, then f9 save
It results with this line in the level file:
"NPC (2 spaces) 34 45"
when it should be "NPC 0 34 45", or something like that.

---
PHP Code:
//#CLIENTSIDE 
function GraalControl.onMouseDown(temp.click) { 
  echo(
click SPC timevar2); 

One echo per click for me.
Reply With Quote