|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: Sat Dec 25, 2004 5:59 am
Database Key variables and triggers |
Ok i have a database called ch
ch has name hp hpmax etc in it....
is there a way to make a trigger that will trigger off @ch.hp
like
#trigger {You see @ch.hp here.} {doblah}
or something?
i havent being able to figure out how to get a database key to work in a trigger |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Dec 25, 2004 8:06 pm |
Are you using an actual database, as in the DB window is open and has multiple records, or are you using a record variable by the name of "CH"?
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: Sat Dec 25, 2004 11:33 pm |
Record variable, sorry. Wasn't sure what they were called.
|
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sun Dec 26, 2004 2:15 am |
This should work
#trigger {You see {@ch.hp} here.} {doblah} |
|
|
|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: Sun Dec 26, 2004 10:03 am |
Thanks a ton! :D
|
|
|
|
|
|