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
  #1  
Old 04-19-2006, 04:20 AM
Coolkid77742 Coolkid77742 is offline
Registered User
Join Date: Aug 2005
Posts: 79
Coolkid77742 is an unknown quantity at this point
Unhappy Eh Help with my script please?

Ok I was trying to make a simple body switch script so if my player touchs theres he has there nick and outfit.... and the other player has mine... yeah they switch outfits...
This is my attempt:

function onPlayerTouchsMe() {
player.colors[0]=this.colors[0];
player.colors[1]=this.colors[1];
player.colors[2]=this.colors[2];
player.colors[3]=this.colors[3];
player.colors[4]=this.colors[4];
player.bodyimg=this.bodyimg;
player.headimg=this.headimg;
player.shieldimg=this.shieldimg;
}

but it wont work
__________________
]
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 12:28 PM.


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