|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Fri Mar 23, 2007 6:57 am
[1.26] Defining a variable from trigger |
I have a the following bit of code to define a variable in a particular module.
Code: |
#VARIABLE //Money/Carried @CResult _nodef {} |
Now it works from the command line but doesn't work in my trigger, instead it shows up as an inline comment. Can anyone confirm this? Or am I losing it again. (Yes I know it's bad to code when sleep deprived, but there are only so many hours in the day. )
Package
|
|- Money (Module)
|---- Money (Class)
| |--> "You are carrying" (Trigger that has the command)
|
|---> Money (Variable)
|---> Carried (Variable)
|
|- MainWindow (Window)
|---> StatusLine (StatusLine Item) |
|
_________________ Asati di tempari! |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Fri Mar 23, 2007 7:06 am |
Once again... scrap that. It's more ID 10T errors from being sleep deprived. I promise I'll go get sleep now, and as a general rule won't post unless I've gotten at least 4 hours of sleep in the last 18.
|
|
_________________ Asati di tempari! |
|
|
|
|
|