Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-24-2011, 07:27 AM
papajchris papajchris is offline
Zeus Condero
papajchris's Avatar
Join Date: Jan 2006
Location: Michigan
Posts: 1,600
papajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to behold
Playlooped seemed to make no difference.

Using Chris's tool, i can't understand why its choosing one NPC over another.

A window with

PHP Code:
// NPC made by Rachel (Working)
if (created) {
}
if (
playertouchsme) {

was selected.

Then a flower with this was selected

PHP Code:
this.itemnum=5;
join flower-bunch

and then
PHP Code:
//#CLIENSIDE
if (created) {
  
dontblock;
drawoverplayer;} 
And a fourth example:
PHP Code:
//#CLIENTSIDE
function onCreated() {
dontblock();
drawoverplayer();
setimgpart("era_lcgaragedoor4.gif",0,0,80,32);


With your script im getting this error:

Quote:
Script: Function stopmusic not found at line 9 in script of Chris/Why the **** aren't radios working on Era?
Script: Function play not found at line 10 in script of Chris/Why the **** aren't radios working on Era?
(Thank CV for the clever name)

My only scripting experience is from what i learned from trial/error over the years, so sorry if this is fairly easy fix, but i looked over your code and cant seem to understand why the lines would work in CV's script, but not yours.
__________________

Last edited by papajchris; 08-24-2011 at 07:48 AM..
Reply With Quote
 


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 06:39 PM.


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