|
Gear56 Newbie
Joined: 14 Sep 2005 Posts: 4
|
Posted: Fri Nov 18, 2005 3:57 am
#KEY help |
I'm wondering if there is a way to have the same key do multiple things. Like if @movement = 1 then key 8 on the numberpad will equal north. and if @archery = 1 and movement = 0, num 8 will equal shoot <target> north. Basically I'm wondering if there is any way to put a #KEY command into an if statement, heh. I only have one arm, so I'd like to set it up so I can play with mainly just the numberpad. Hope my question is clear enough, let me know if not I will try and clarify. Thanks!
|
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Fri Nov 18, 2005 6:28 am |
Should be easy enough to do. It's not putting a #KEY into an #IF though, rather putting an #IF into a #KEY.
Off the top of my head...
#KEY 1 {#if (@movement = 1) {north} {#if (@archery = 1) {shoot north}}} |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|