Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Disabling Swords (https://forums.graalonline.com/forums/showthread.php?t=38782)

sage_chaozu 10-01-2002 05:33 AM

Disabling Swords
 
I am wondering if anyone has stumbled upon this or have noticed this. This code disables the sword

code:

setsword 0,#1;

I hope you can all understand what that statement says.

emortylone 10-01-2002 06:54 AM

Does that not just set it as a level 0 sword? He he, I just set ap to 100 for my HP System, never really occured to me otherwise...
Good thinking :D
---Shifter

sage_chaozu 10-01-2002 08:23 AM

no slicing either
 
well it does set to zero, but I also noticed that when I press s.. I do not slice my sword either

emortylone 10-01-2002 08:59 AM

Ah, he he. I didn't realize doing that would. Thanks, of course you should set a var (preferably a string though) to refer back to the sword. If you set a var and they get dc'ed or restart it clears =/
---Shifter

sage_chaozu 10-01-2002 09:03 AM

duh
 
duh, I know.. I am not a newbie scripter ;)
Just haven't posted that much :D

Graal2001_NAT 10-01-2002 09:25 AM

yes, sage chaozu is a very good scripter :)

screen_name 10-01-2002 03:25 PM

I used to use this method, but slightly modified.

NPC Code:

setsword no-sword.png,0;



But now I use disabledefmovement.

emortylone 10-01-2002 11:09 PM

LOL, I know you aren't Sage, I"ve heard a few people tell me that Sage could own me in scripting =/ Gets old fast, considering I've never seen him and they've never seen my stuff :(
---Shifter

Com013 10-03-2002 01:41 AM

Quote:

Originally posted by screen_name
NPC Code:

setsword no-sword.png,0;



That's what we do on Classic.

Graal2001_Developer1 10-03-2002 02:13 AM

Best way is probably to rescript the whole movement etc.

Dach 10-03-2002 07:57 AM

Quote:

Originally posted by Graal2001_Developer1
Best way is probably to rescript the whole movement etc.
He posted this so you don't have to do that...

Com013 10-03-2002 10:43 AM

Quote:

Originally posted by Graal2001_Developer1
Best way is probably to rescript the whole movement etc.
But how do you want to carry NPCs with a replaced movement?

Graal2001_NAT 10-03-2002 11:51 AM

Quote:

Originally posted by Com013

But how do you want to carry NPCs with a replaced movement?

ganis, triggeraction, and some tiles[] or board[] commands

Graal2001_Developer1 10-03-2002 05:12 PM

Quote:

Originally posted by Com013

But how do you want to carry NPCs with a replaced movement?

or like 2k2 does :P
I did something like this with the bombs for Atlantis
actually it's no problem to replace this...

Loriel 10-03-2002 11:45 PM

Quote:

Originally posted by Graal2001_Developer1
I did something like this with the bombs for Atlantis
actually it's no problem to replace this...

But he wants to carry NPCs, like NPCs that have a script and stuff.


All times are GMT +2. The time now is 12:07 PM.

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