Non-threaded

Forums » Advanced Editor Forum » Read Thread

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

Item variables

11 years ago

How do I change a variable when using a item?

Item variables

11 years ago

Item scripting.

Item variables

11 years ago

You dont say

Item variables

11 years ago

Pretty much, yeah he sort of failed to say haha!

But Item Scripting is the "Edit Item Script" link off the Item in question

Change the values of your Variables like this when the Item is used:

%VARIABLE1 := 5
%VARIABLE2 := %VARIABLE2 + 5

The first sets Variable 1 to 5 and the second adds +5 to whatever Variable 2 already is...

 

 

Item variables

11 years ago

"hugs" 

THANK YOU! YOU HELPED ME AGAIN, I SUCK AT SCRIPTING

Item variables

11 years ago

Vague questions get vague answers ^_^

Item variables

11 years ago

It wasn't that vague lol, 

Item variables

11 years ago

It was, but he could have used his social reasoning skills...