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 03-04-2003, 03:55 PM
TheStivi TheStivi is offline
Registered User
Join Date: Sep 2002
Location: Germany - NRW
Posts: 78
TheStivi is on a distinguished road
Send a message via ICQ to TheStivi Send a message via AIM to TheStivi
Help in a Script ^^ (Putnpc2)

This the part of the new Trophy Sys for G2k2 and for Doomsday maybe not for g2k2 but for doomsday , h3h3

Why it dont works ? All works without the dropping of the npc -_-"


There is no image or the npc is not dropped -_-"

Plz help me :

if (strequals(#t(this.test),1) && keydown2(keycode(w),true)){
setani lay,;
setstring server.pos,#v(this.select);
setstring server.name,#s(client.trophies1);
setstring server.rank,#s(client.rank);
putnpc2 playerx+0.5+vecx(playerdir)*2,playery-0.1+vecy(playerdir)*2,{
if (created || playerenters){
setstring this.pos,#s(server.pos);
setstring this.name,#s(server.name);
setstring this.rank,#s(server.rank);
setimg #s(this.rank)#s(this.name)trophy.png;
}
if (playertouchsme){
tokenize #s(client.trophie);
setstring client.trophie;
for (this.i=0;this.i
if (this.i=strtofloat(#s(this.pos))){
setstring client.trophie,#s(client.trophie) 1;
}
else {
setstring client.trophie,#s(client.trophie) #t(this.i);
}
}
destroy;
};

setstring client.trophie,;
for (this.i=0;this.i<60;this.i++){
if (this.i=this.test){
setstring client.trophie,#s(client.trophie) 0;
}
else{
setstring client.trophie,#s(client.trophie) #t(this.i);
}
}
}
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 08:16 PM.


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