
10-09-2011, 04:59 PM
|
Banned
|
Join Date: Jul 2004
Location: London
Posts: 2,029
|
|
Won't the use of the same GUI control names within multiple different level NPCs cause problems?
For instance opening a chest in one level will also invoke the actions within chests you've seen within different levels.
You could either move the GUI scripts into a weapon and communicate with that weapon from the class, or create GUIs with dynamic names and use catchevent(); to be able to receive the action. |
|
|