The Dink Network

Reply to Re: Adding Graphics Problems

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 4th 2009, 08:15 AM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Are you using WinDinkEdit Plus? It's much better than regular WDE. Maybe you should try it in the old DinkEdit too.

As for your other question, just make a global variable for being able/unable to use magic and to use weapons. let's name them &muse and &wuse. Put them in the main.c and give them a value of 1.

Then, put in the item scripts this:

void use( void )
{
if (&muse == 0)
{
return;
}

on top of everything else. For weapons use &wuse.

Now you need to make sure you change &muse and &wuse to 0 whenever you want to disable it, and turn it back to 1 when you can use it again.