• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Multiple UID -> One script?

Status
Not open for further replies.

Blue Charizard

Blue where it counts
Joined
Sep 18, 2008
Messages
345
Reaction score
0
Location
Wouldn't you like to know?
I have a script which requires me to use about 100 UID's (Unique ID's) on a number of items, and they will all redirect to the same script, so my question is the following:

Is it possible to refer to an array of UID's in a single line?

For example it is possible to refer to an array of item ID's by using something in style with:

<action fromid="1209" toid="1214" script="other/doors.lua"/>

But would be possible to do something like:

<action fromuid="2001" touid="2113" script="other/quest.lua"/>

So that you wont have to write over 100 lines with more or less the same thing?

Any info regarding the matter would be appreciated.
 
I have a script which requires me to use about 100 UID's (Unique ID's) on a number of items, and they will all redirect to the same script, so my question is the following:

Is it possible to refer to an array of UID's in a single line?

For example it is possible to refer to an array of item ID's by using something in style with:

<action fromid="1209" toid="1214" script="other/doors.lua"/>

But would be possible to do something like:

<action fromuid="2001" touid="2113" script="other/quest.lua"/>

So that you wont have to write over 100 lines with more or less the same thing?

Any info regarding the matter would be appreciated.

You just wrote it :mad:.
 
Status
Not open for further replies.
Back
Top