Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8928

Self.choose actor numbers question....

$
0
0

I hope I ask this question correctly...

Even though this has to do with a slots game...it may have no relevance to it...so here goes.

I have 3 actors, each with a self.choose attribute...after 3 seconds it chooses (random 1,13)...lets say it choose 4....and that is worth 20 credits...but One of my "13" it chooses from is a wild...that number is 13...

So here is the question....how can I allow 13 to act as though it chose 4....meaning if a wild symbol is choosen 13...it think a 4 was chosen.

In my game I have a controller that looks for

reel1, if self.chose is 4
reel2, if self.chose is 4
reel3, if self.chose is 4 you win

What I want is to allow a 13 to be replaced as a 4 without coding every combination...

I feel there must be someway that if 13 is chosen it may be allowed to replace any other number...1,12 and act as that same number.

Any suggestions? In a 15 reel slots game this become a huge...(insert Donald Trump "HUGE") coding task...litterally thousands of combinations.

Im stuck on this.

Thanks..TC


Viewing all articles
Browse latest Browse all 8928

Trending Articles