![]() |
Some.......stuff
Hello. I got more stuff to talk about. Since I can NEVER get a hold of Stefan, I will post everything here.
First of all, can someone explain when to use //#CLIENTSIDE in a script for me? I kinda got the basics down, but am kinda rusty. Also, does TriggerAction go under //#CLIENTSIDE? Second, I found some glitches/bugs/evil thingys in Graal. -=Bugs=- Can't change head in NPC Server (special code?) Bug in Setup.EXE -======- #v(variables) don't work The bug in setup.exe is as follows: I can downgrade Graal v2.03 into Graal v2.02. But, it doesn't recognize that I downgraded and STILL thinks I have 2.03. There is also a bug in #v(variables). If you use #v(variable) in a say2 command, it will come out as ZERO every time. I opened the debugger. this.BugCount equaled 9. In my say2 command, I had #v(this.BugCount). It always came out as ZERO. #s(string) works, but #v(variable) doesn't. Also, I have a suggestion. Here it is: make it so you can download a server's map. That would be great. Upload the map and txt file for it, and the players would automatically download it. Well, that ABOUT raps it up. I will still try to find Stefan, because I didn't talk about everything on my mind. Time to figure out WHY this dumb npc works offline correctly but not online.......... |
Yes they wouldn't have any problems if they wouldn't
delete my npcs, I have made the starting levels from Bravo to work with the npcserver, also added an npc with that setstring command There is absolutely no problem with #v(). Setup.exe: you can click on the version, it will scroll through Keep/Uninstall/2.02/2.03 |
Well, ok. But, Stefan, in my script I set:
this.BugCount=9; A couple lines down, I did this: say2 You only have #v(this.BugCount) bugs.; Normally, you would get a textbox saying: You only have 9 bugs. Instead, this is what it shows: You only have 0 bugs. The debugger even shows this.BugCount equals 9, but it won't work in the textbox. Also, can anyone explain to me where to put //#CLIENTSIDE and where NOT to put //#CLIENTSIDE. Thanks. |
Ok here is some help if it helps or i could just be up to early
Ok when you use a variable or string of ne type do the following if you want the text version of it which can be text,numbers but its still text put it in like this
Example: message You need #v(10-#v(#s(client.bugs))) It would make the npc message the number of bugs subtracted from 10 or whatever u wanted. If you want just a text version you would do #s(client.bugs) but if its a variable you put the #v() around the #s() all it does is show the string as numerical data. I hope this clears alot of questions ive seen today up. *passes out*........... |
Re: Re: Ok here is some help if it helps or i could just be up to early
Quote:
or client.bugs whatever you are using if ur doing something like that u will more than likely use client.vars Im sleepy *passes back out*....... |
| All times are GMT +2. The time now is 08:21 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.