Create account / Log in

Trigger actions without hitting keys

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Trigger actions without hitting keys

Postby mehrunes » January 19th, 2008, 8:16 am

Following problem:

I have a game piece which represents a unit of warriors with 30 layers that each represent one warrior.
On layer 1, there is one warrior, on layer 30 there are 30 warriors.

Now I want to count the current warriors (I have a dynamic property "Quantity", so this is no problem) in the unit and dependent on the result want to have performed several actions (or key strokes).

Unfortunately the Trigger Action trait seems not to be usable for this problem as it always needs an own performed keystroke.

That I want to avoid, because whether hitting the keystroke for the trigger or hitting the keystroke for the desired action would be no difference at all. It should be automatically.
Anyone an idea ?
Apologize my bad english - I'm not a native speaker. ;)
Posts: 84
Joined: December 28th, 2007, 1:33 am

Return to Module Design

Who is online

Users browsing this forum: No registered users and 2 guests