Roulette Marker movement and win coordinate
#3

This is a lot more complicated than you would think. You will need some sort of data structure for every position on the game board example.

Код:
#define         NO_RINDEX           -1

enum ROULETTETABLEENUM {
	gRIndex,
	Float:gROffX,
	Float:gROffY,
	Float:gROffZ,
	gRUpIndex,
	gRDownIndex,
	gRRightIndex,
	gRLeftIndex,
}
There will probably be a lot more data than that.

You will also need to create system states / player states and lots of switch()'s otherwise you get into comparing system states to player states and will generate shit loads of if statements which will likely cause all sorts of logic problems for you.

Roulette is simple yet very complex if you are already having trouble with such a simple aspect of scripting this I wouldn't think you are ready to script something like this.
Reply


Messages In This Thread
Roulette Marker movement and win coordinate - by KingMichael - 05.07.2017, 14:57
Re: Roulette Marker movement and win coordinate - by Toroi - 05.07.2017, 15:28
Re: Roulette Marker movement and win coordinate - by Pottus - 05.07.2017, 19:01
Re: Roulette Marker movement and win coordinate - by KingMichael - 06.07.2017, 18:41
Re: Roulette Marker movement and win coordinate - by Pottus - 06.07.2017, 21:19
Re: Roulette Marker movement and win coordinate - by KingMichael - 07.07.2017, 10:09
Re: Roulette Marker movement and win coordinate - by KingMichael - 09.07.2017, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)