Thread: Onpress hepl!
View Single Post
  #2  
Unread 01-19-2007, 07:19 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

The text entered into the chat window via script isn't parsed the same way text manually entered, thus all the % variables will not work. It'll aways come out exactly like it see it in the script. At least I've never been able to get the % variables to work via UI scripts.

The easy way around this is to add a none visible text object and use the target gamedata to populate it's text fields. Then in your script do Onpress="'INC ' ## Parent.Target.LocalText" Where Target is your none visible text objects. Or you could Parent out and use the text in the real target window.

I've never used the do_file_command by UI script but I do use load_options, witch works basically the same. The way I use it is; OnPress="load_options=AUCPPreset_3.ini", where the file AUCPPreset_3.ini is located in EverQuest 2's base directory. I assume they would work the same.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote