HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quick variable question

01-15-2006, 09:27 AM#1
Moss
Am I correct in assuming that if I set a global variable and then call another trigger which needs that variable it will still be the same no matter what? In other words, no other triggers could run in between and manipulate that variable unless I used a wait?
01-15-2006, 09:55 AM#2
Jacek
triggers use actual variable value. So if you change value of variable, all triggers use the new value.
01-15-2006, 10:13 AM#3
iNfraNe
If you run a trigger from another thread it will run before completing the other thread so yes, the variable wouldnt posibly change between.
01-16-2006, 01:41 AM#4
Moss
k, thanks.