Create account / Log in

Restrict who can rotate a unit?

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Restrict who can rotate a unit?

Postby That Don Guy » March 13th, 2011, 7:05 pm

I have a prototype (named, say, "Allies") that has both a Restricted Access (to the "Allied" and "Both" players) and a Can Rotate property. However, not only can both players rotate the Allies' units, but any observer can as well.

Is there a way to limit the ability to rotate a particular unit to the player(s) that can access it?

-- Don
That Don Guy
 
Posts: 22
Joined: January 3rd, 2009, 4:58 am
Location: Benicia, CA

Re: Restrict who can rotate a unit?

Postby mycenae » March 13th, 2011, 8:54 pm

Restricted Access will restrict access to any traits above it in the list of traits. So just make sure Restrict Access is lower (that is, later in the list of piece traits) than the Rotate trait. You can then put non-restricted traits below the Restrict Access trait if you want to make those available to anyone.
mycenae
 
Posts: 394
Joined: May 16th, 2008, 6:41 pm


Return to Module Design

Who is online

Users browsing this forum: No registered users and 1 guest