|
-
From a subroutine mc, I’ve set variables for games that live in the main movie as follows:
game1 = “/dog”
game2 = “/cat”
game3 = “/bird”
Can I then target those games from the same subroutines mc as follows ?
Set Property (“game1”,_x) = 100
Set Property (“game2”,_x) = 200
Set Property (“game3”,_x) = 300
I can’t seem to get it to work.
Can I alternatively use the following code?:
gameCount = 1
Set Property (“game” & gameCount,_x) = 100
gameCount = gameCount + 1
Set Property (“game” & gameCount,_x) = 200
gameCount = gameCount + 1
Set Property (“game” & gameCount,_x) = 300
Or should it be?:
gameCount = 1
Set Property (Eval (“game” & gameCount),_x) = 100
gameCount = gameCount + 1
Set Property (Eval (“game” & gameCount),_x) = 200
gameCount = gameCount + 1
Set Property (Eval (“game” & gameCount),_x) = 300
(I will be abbreviating this in a loop, but for now the problem is the targeting).
Thanks for any help.
DJ Rush
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|