BeeHay Posted August 2, 2010 Share Posted August 2, 2010 Can I do something like this - Delay(strDelayTimer) ? Thanks, just wondering if this is possible. Link to comment Share on other sites More sharing options...
AzeoTech Posted August 2, 2010 Share Posted August 2, 2010 Yes and no. delay() is just a function, so you can put anything that evaluates to a number inside. However, strDelayTime is presumably a string variable since it starts with "str" so you need to convert it to a number. Link to comment Share on other sites More sharing options...
BeeHay Posted August 2, 2010 Author Share Posted August 2, 2010 Can I just use a global variable in there - global DelayTimer = 30 Delay(DelayTimer) Thanks for the fast reply, Brandon Link to comment Share on other sites More sharing options...
AzeoTech Posted August 2, 2010 Share Posted August 2, 2010 Yes, as I said, you can put anything that evaluates to a number. Link to comment Share on other sites More sharing options...
BeeHay Posted August 2, 2010 Author Share Posted August 2, 2010 Righteous... Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.