Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Item Question

11 years ago

In the story I am writing, I made a part so that you could combine food items to get a greater food item, which gives you more health. Unfortunately, I don't know how I could make each food item provide health-changing effects separately without making random pages to show the changes. Is it possible to make an item give you an effect just by "using" it?

Item Question

11 years ago

No. In order for the effect to work, you need the item to bring you to a specific page.

Say you want to increase a character's health by using a item. You can put this on the item script page.

$DEST := @P10

%HEALTH := %HEALTH + 10 

What this say is that when you use the item, it will bring you to page 10 and increase your health by 10. Of course the page number and the health can be easily change by switching the number with whatever number you want to switch it with. 

Item Question

11 years ago

What about @NONE as the page? Or the current page number?

Item Question

11 years ago

That'll also work.