Create account / Log in

Global property value in trigger action

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Global property value in trigger action

Postby AdamSzieberth » March 1st, 2011, 1:26 am

Simple question:

Ho to refer to a global property value in a trigger action: If I have a global property named Test, nor $Test$=0 nor Test=0, nor TestValue=0 etc. working.

Thx,
Adam
User avatar
AdamSzieberth
 
Posts: 16
Joined: February 26th, 2011, 12:57 am

Re: [messages] [Module Design] Global property value in trig

Postby Tim M » March 1st, 2011, 2:00 am

Lets say the value of your Global property called Test is 0 so:

$Test$ = 0 ; this means the value of the property called Test "0" is equal
to 0 in other words 0 = 0

Test = 0 ; this means the property called Test has a current value of 0

TestValue = 0 means nothing here in this usage



-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of AdamSzieberth
Sent: Monday, February 28, 2011 7:26 PM
To: messages@vassalengine.org
Subject: [messages] [Module Design] Global property value in trigger action

Simple question:

Ho to refer to a global property value in a trigger action: If I have a
global property named Test, nor $Test$=0 nor Test=0, nor TestValue=0
etc. working.

Thx,
Adam

_______________________________________________
Read this topic online here:
viewtopic.php?p=22017#p22017
Tim,
Vassal Uber Geek/Guru

Problems? post your OS, Physical Mem, version of Vassal and Java plus the Module in question.
No developer can help with out that info, thx!
User avatar
Tim M
 
Posts: 1812
Joined: December 8th, 2007, 12:22 pm
Location: Earth

Re: Global property value in trigger action

Postby AdamSzieberth » March 1st, 2011, 10:57 am

Probably I missed the spaces. Now it works. Thanks.
User avatar
AdamSzieberth
 
Posts: 16
Joined: February 26th, 2011, 12:57 am


Return to Module Design

Who is online

Users browsing this forum: No registered users and 5 guests