Create a tag/flag and store values in it?
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Mar 18, 2024 8:13 pm
GroupMembers
Posts5
JoinedMar 16, 2024
In the 90s I remember being able to track how many times an object had been interacted with, and building an if check group off of that for increasing danger in responses. Smaug 1.4a
I can't find the mp command i must have used for that.
my testing.
MPFLAG
MPTAG
neither of these seem to work.
IFCHECK ISFLAGGED
IFCHECK ISTAGGED
nor do these seem to work with how the syntax is written in Herme's guides.
I suspect they might be for that one mud only..
Does anyone know of any way to set your own flag and assign variables (or do math with variables) in smaug 1.4a?
mpsetflag Altar == 1
if setflag(altar) == 1
Mpsetflag altar = altar + 1
Type thing.. anything like that ( even a flag i can create without math.. globally, in room, on mob, on pc, on obj?
anyone know?
I can't find the mp command i must have used for that.
my testing.
MPFLAG
MPTAG
neither of these seem to work.
IFCHECK ISFLAGGED
IFCHECK ISTAGGED
nor do these seem to work with how the syntax is written in Herme's guides.
I suspect they might be for that one mud only..
Does anyone know of any way to set your own flag and assign variables (or do math with variables) in smaug 1.4a?
mpsetflag Altar == 1
if setflag(altar) == 1
Mpsetflag altar = altar + 1
Type thing.. anything like that ( even a flag i can create without math.. globally, in room, on mob, on pc, on obj?
anyone know?
#2 Mar 21, 2024 6:38 pm
GroupAdministrators
Posts1,946
JoinedJul 26, 2005
I don't recall who came up with it but long ago someone created a snippet to allow something very similar to that and you could add all kinds of things in each mob program to set new variables on players etc... worked great to
#3 Apr 6, 2024 12:17 am
GroupMembers
Posts5
JoinedMar 16, 2024
Remcon said:
I don't recall who came up with it but long ago someone created a snippet to allow something very similar to that and you could add all kinds of things in each mob program to set new variables on players etc... worked great to
err, dang, i guess you also don't remember what it was called? hmm I'll keep looking
Pages:<< prev 1 next >>