Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   setting swordpower (https://forums.graalonline.com/forums/showthread.php?t=41654)

Warcaptain 01-02-2003 04:54 PM

setting swordpower
 
How are you supposed to change swordpower, without putting a chest there.

i tried setsword, it didnt work client or serverside...

CheeToS2 01-02-2003 05:11 PM

theres a variable.. playerswordpower or something

Warcaptain 01-02-2003 10:10 PM

Quote:

Originally posted by CheeToS2
theres a variable.. playerswordpower or something
playerswordpower=x doesnt work

setsword doesnt seem to be working either

Python523 01-02-2003 10:13 PM

Quote:

Originally posted by Warcaptain


playerswordpower=x doesnt work

setsword doesnt seem to be working either

you try writing to playerswordpower serverside? it might be serverside write only

Warcaptain 01-02-2003 10:20 PM

Quote:

Originally posted by Python523

you try writing to playerswordpower serverside? it might be serverside write only

ive tried it both ways.

it still doesnt work.

CheeToS2 01-02-2003 11:03 PM

Quote:

Originally posted by Warcaptain


ive tried it both ways.

it still doesnt work.

its serverside, did you change swordlimit= in the server options?

Warcaptain 01-02-2003 11:26 PM

Quote:

Originally posted by CheeToS2

its serverside, did you change swordlimit= in the server options?


of course I did.

It worked with a chest, but It cant be for the system im making

Loriel 01-02-2003 11:52 PM

Rescript sword.

HoudiniMan 01-03-2003 03:46 AM

Look what a flop that was on G2k1 x_x

Loriel 01-03-2003 11:35 AM

Well, I do not understand how anybody could not want a rescripted movement :(

HoudiniMan 01-03-2003 12:40 PM

It sucks to fight with. :\

Loriel 01-03-2003 01:43 PM

You could script it to be exactly as the normal one, just more customizable.

Com013 01-05-2003 06:30 PM

Quote:

Originally posted by Loriel
You could script it to be exactly as the normal one, just more customizable.
Like we did on Classic Dev? But that was a huge script...

On Classic setsword is working fine.
NPC Code:
setsword sword3.png,3;


Maybe you did
NPC Code:
setsword #1,3;


which wouldn't be working, because the image would still be sword1.gif, and I think that would always set your power to 1.
Online it would have to be serverside.
As far as I know write access to playerswordpower isn't working.


All times are GMT +2. The time now is 08:29 PM.

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