View previous topic :: View next topic |
Author |
Message |
mswguest Guest
|
Posted: Tue Jul 26, 2011 5:55 pm Post subject: |
|
|
What is the actual name of the item you are checking for? If the item name includes a 'special' character (like a little picture of a shirt), then you need to check your hsi file explicitly to see how to refer to it in your scripts. |
|
Back to top |
|
 |
Master K Ex-Akatsuki Masked Ninja

Joined: 11 Jun 2011 Posts: 57 Location: Everywhere and Nowhere. Muahaha!
|
Posted: Tue Jul 26, 2011 6:15 pm Post subject: |
|
|
I removed all the shirt/robe icons in the editor, so now i'm actually referring to their names in the script. I don't know whats wrong. |
|
Back to top |
|
 |
mswguest Guest
|
Posted: Tue Jul 26, 2011 7:04 pm Post subject: |
|
|
If you removed the icons in the editor via the Font Editor, this is NOT ENOUGH to actually have removed them as characters from the ends of the names of the items. All you've done in this case is make, for example, ALT+SHIFT+H mean a fully blank icon. You should still go to the items in question and re-type their names.
If you have, in fact, re-typed the names of the items causing the problems, you have to re-export the hsi file via custom's script management menu. If you've done all this, the only other thing I can think of is sometimes people's computers make the hsi file read-only, which would prevent custom from over-writing it with a new hsi file. Make sure this is not the case. |
|
Back to top |
|
 |
Master K Ex-Akatsuki Masked Ninja

Joined: 11 Jun 2011 Posts: 57 Location: Everywhere and Nowhere. Muahaha!
|
Posted: Tue Jul 26, 2011 7:43 pm Post subject: |
|
|
I. FOUND. MY. PROBLEM.
I can't believe it...
I had two HSI files. One outdated, one new. Whats the difference? I took out the space. Mage Arena's file has a space, so the new HSI will get a space. My script was trying to accept the old one, because the compiler ignores the space in the scrpt. So, when I make a new HSI, I must rename it each time. Doh!
I'm testing it now to see if it works ingame...
It does! The outfit updates itself when set with an each step...I tried autorun, but that won't work unless I can loop the script. |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Wed Jul 27, 2011 5:31 am Post subject: |
|
|
You can get around that problem by using quote marks:
Code: | include, "Mage Arena.hsi" |
_________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
Master K Ex-Akatsuki Masked Ninja

Joined: 11 Jun 2011 Posts: 57 Location: Everywhere and Nowhere. Muahaha!
|
Posted: Wed Jul 27, 2011 6:29 am Post subject: |
|
|
Ah, thanks Cacti. |
|
Back to top |
|
 |
|