Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Online strings getting no values? (https://forums.graalonline.com/forums/showthread.php?t=22483)

providence_rc13 01-30-2002 02:08 AM

Online strings getting no values?
 
Been working on val for a long time (me virtue) and been having a little bit of trouble with the new version.

setstring hp,100;

that won't work it'll just end up being in the players flags as

hp

This used to work and no strings are working not even server at times... any one got any answers?

LiquidIce00 01-30-2002 02:59 AM

it was a bug .. I believe its fixed in Rev3-4

Goboom 01-30-2002 03:07 AM

Quote:

Been working on val for a long time (me virtue) and been having a little bit of trouble with the new version.

setstring hp,100;

that won't work it'll just end up being in the players flags as

hp

This used to work and no strings are working not even server at times... any one got any answers?
if your working with strings you will have to do something like this...
NPC Code:

setstring hp,100;
playerhearts=strtofloat(#s(hp));



if that is what your asking there you go! if not just tell me! :cool:

Admins 01-30-2002 03:50 AM

Get Graal v2.13 revision4

providence_rc13 01-30-2002 07:04 AM

K thanks
 
Ahhh Thank you Stefan.

And we'ren ot heart based we're string.

Goboom 01-30-2002 09:17 PM

Ok....didnt know you guys were string based still....havent played val in forever....:p

Saga2001 01-30-2002 11:59 PM

lol, that happened to my system on npulse and i thought it was me! phew. a comment...i dunno if this was fixed, but:
1.) if you set a flag after you play the level, it sets twice.
2.) sometimes when you close the edit script window, it tells you you can't click a disabled window, lol...just a few side notes.


All times are GMT +2. The time now is 03:30 AM.

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