01-01-2007, 05:33 PM
Dean,
I did not see "Find" unload LocalVar.
I did not see "Find" unload LocalVar.
Displaying slot number
|
01-01-2007, 05:33 PM
Dean,
I did not see "Find" unload LocalVar.
01-01-2007, 05:48 PM
Find() is a 'conditional' command, meaning that it just exists to return a true/false status. So it's only available under the If or If/Else buttons, not the Cmd button. Sorry, I should have pointed that out. So you would probably want to use the If/Else button and do something like this:
Code: If (LocalVars:Find(....))
Dean Roddey
Explorans limites defectum
01-02-2007, 06:21 AM
This is what I got when I click on the cover.
Token expansion failed during command processing Runtime value MediaRTV:Locinfo was not available for replacement
01-02-2007, 07:32 AM
updated:
I got a little further. RTV:LocInfo is case sensitive. Now I got this error. "If GlobalVars::Find(%(GVar:LocInfo), GVar:LocDevideOfs, ".", True) " In detail: Variable Changer1.190 was not found thanks.
01-02-2007, 08:58 AM
Try it without the token replacement ie just
GVar:LocInfo instead of the %() John
01-02-2007, 09:00 AM
diy8888 Wrote:This is what I got when I click on the cover. When using a token in your actions you can right click on the box and it will bring up a list of options you can choose from so you don't have to worry about spelling. John
01-02-2007, 10:26 AM
I am all set. I do not need to parse RTV:LocInfo since I need to know what Changer anyway. So I set it to GVar:Slotnum, then on Detail Template, I set text to Slot Static Text field.
So it displays Changer1.xxx where xxx is slot number. thanks.
05-18-2014, 08:15 PM
Dean, resurrecting this thread. I still have two 777's, mostly because I haven't the time to commit to ripping two player's worth right now. I see (I think) how to extract the slot number based on the previous posts. How do you go about extracting the player number, as it's on the other side of the separator.
Russ
Flamin' Noobie...
Warp speed now and don't give me any of that dilythium crystal crap!
05-19-2014, 05:22 AM
You can use System::GetNthToken as one way of doing it. Set the separator to a period, and then get the 0th and 1st tokens, which will be the left and right sides.
Dean Roddey
Explorans limites defectum |
« Next Oldest | Next Newest »
|