Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2002, 02:08 AM
providence_rc13 providence_rc13 is offline
Registered User
Join Date: Dec 2001
Location: CANADA
Posts: 14
providence_rc13 is on a distinguished road
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?
__________________
<img src="http://weow.digitalrice.com/valsite/images/sig.png">
"All I am to you is fiction, you can do nothing to have me, but in your mind I am there, yes very close, but what matters to you your world or mine..."
Reply With Quote
  #2  
Old 01-30-2002, 02:59 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
it was a bug .. I believe its fixed in Rev3-4
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #3  
Old 01-30-2002, 03:07 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
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!
__________________
Reply With Quote
  #4  
Old 01-30-2002, 03:50 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Get Graal v2.13 revision4
Reply With Quote
  #5  
Old 01-30-2002, 07:04 AM
providence_rc13 providence_rc13 is offline
Registered User
Join Date: Dec 2001
Location: CANADA
Posts: 14
providence_rc13 is on a distinguished road
K thanks

Ahhh Thank you Stefan.

And we'ren ot heart based we're string.
__________________
<img src="http://weow.digitalrice.com/valsite/images/sig.png">
"All I am to you is fiction, you can do nothing to have me, but in your mind I am there, yes very close, but what matters to you your world or mine..."
Reply With Quote
  #6  
Old 01-30-2002, 09:17 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Ok....didnt know you guys were string based still....havent played val in forever....
__________________
Reply With Quote
  #7  
Old 01-30-2002, 11:59 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Smile

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.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
Reply


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 09:38 PM.


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