![]() |
Why won't this work?
This script won't work? Please help!
// NPC made by Rob Getashu if (created) { drawoverplayer; setstring this.bugsprite,; showcharacter; setcharani stone_closed,; message #v(this.bombpower) % } if (exploded) { bombpower = strtofloat(#s(bombpower))+25; setstring bombpower,#v(bombpower); setstring client.bombpower,#s(bombpower); setstring server.gavebombpower,#v(strtofloat(#s(server.gaveb ombpower))+25); this.bombpower = strtofloat(#s(client.bombpower)); setstring client.bombpower,; setstring server.gavebombpower,#v(this.bombpower); } if (bombpower=100) { setcharani stone_open,#s(this.bugsprite); sleep 2; setcharani stone_idle,#s(this.bugsprite); sleep 2; setcharani stone_close,#s(this.bugsprite); sleep 2; setcharani stone_closed,; bugs = strtofloat(#s(bugs))+1; setstring bugs,#v(bugs); setstring client.bugs,#s(bugs); setstring server.gavebugs,#v(strtofloat(#s(server.gavebugs)) +1); } |
Can someplease help?:confused:
|
:(
|
Ok let me explain the script. Your supose to use bombvs to move the rocks and find beetles under them. The problem is you need to use four bombs and I wanted to show the percent above the rock and this script won't work. Can someone help?
|
here:
NPC Code: |
just make it display a string above the rock like for instance:
NPC Code:#s(rockhit) to do this just have it so every time you hit the rock, it does this function: NPC Code: then you can make it so when the string #s(rockhit)==100 that it moves the rock or whatever. lol i just did that off the top of my head I doubt it'll work but oh well you get the idea. |
Quote:
|
=P good!
|
errr, i wouldn't bother with the script...i mean finding bugs under rocks, COME ON PEOPLE!
|
Quote:
|
~AlphaFlame~
Wasn't this on a few of the Zelda games? By the way... if (exploded && this.bombed<=4){ this.bombed++; if (this.bombed=4){ x--; } message #v(this.bombed/4*100)% } |
you need to use a timeout loop in the original script of this thread
|
can someone agree with any of these and redo my old script and add the new features? :confused:
|
I would if this comp had graal on it AND if I wasnt lazy =O
|
~AlphaFlame~
Feel lucky I'm bored... if (exploded && this.bombed<=4){ this.bombed++; message #v(this.bombed/4*100)% if (this.bombed=4) { setcharani stone_open,#s(this.bugsprite); sleep 2; setcharani stone_idle,#s(this.bugsprite); sleep 2; setcharani stone_close,#s(this.bugsprite); sleep 2; setcharani stone_closed,; setstring bugs,#v(strtofloat(#s(bugs))+1); } } |
All times are GMT +2. The time now is 12:45 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.