Confusioner
Apprentice
Posts: 4
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2014
Reputation: 0
|
RE: Way to store value like TAG.X in 51a
First: yeah you are god damn right, its old as hell. I don't like either. But this is a nostalgia shard. Trying to make small changes.
On the subject:
1) Turns out there is NO ONTRIGGER=CREATE method on 51a. I looked others scripts and they all created first initialization on ONTRIGGER=TIMER, with TIMER set to 0.
2) <VAR.TST> DOES work on session. But when you save the world, it disappears. Useless for permanent value storage.
3) I set TIMER to -1 to avoid looping.
Code:
[7b56]
ID=0e3b
NAME=Book of Test
COLOR=070d
TIMER=0
ATTR=24
ONTRIGGER=TIMER
SAY Item Created
VAR.TST=TestTwo
VAR.TEST<UID>.SomeKey=TestOne
TIMER=-1
return 1
ONTRIGGER=DCLICK
src.message Test1: <VAR.TEST<UID>.SomeKey>
src.message Test2: <VAR.TST>
return 1
There must be some way to store multiple data to single item. Otherwise how come sphere save guild membership info of players?
(This post was last modified: 01-30-2014 08:35 AM by Confusioner.)
|
|
01-30-2014 08:29 AM |
|
|