Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-14-2009, 09:29 AM
racycle racycle is offline
smooth as eggs
racycle's Avatar
Join Date: Jul 2008
Location: Chanko
Posts: 136
racycle will become famous soon enough
Send a message via AIM to racycle
Setshape2 problem

Im trying to load a tree from a class however it dosent block at all, heres the local script

PHP Code:
//#Clientside
this.treetype="grass";
join("obj_tree"); 
and heres the class script i did
PHP Code:
//#CLIENTSIDE
function onCreated() {
if(
this.treetype=="grass"){
setimg ms_tree2.png;}
else if(
this.treetype=="dirt"){
setimg ms_tree3.png;}
else if(
this.treetype=="water"){
setimg ms_tree4.png;}
else if(
this.treetype=="test"){
setimg block.png;}
  
drawoverplayer;
  
setshape2(12,14, {
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000,22,22,22,22,220000,
   
000,22,22,22,22,220000,
   
000,22,22,22,22,220000});

__________________

Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:06 AM.


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