collapse

Author Topic: Help with an attack  (Read 317 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaos Dante

  • Initiate
  • **
  • Posts: 134
  • Last Login:December 22, 2013, 03:12:48 PM
Help with an attack
« on: November 14, 2007, 09:50:43 PM »
My character has two different sets of punches a LP for when he's close and a LP for longer distances. How can I make both a close LP and a far LP and use the same button command?



Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Help with an attack
« Reply #1 on: November 15, 2007, 09:04:39 AM »
to make that you need to create 2 statedefs (the close attack and the far). In the cmd put these

triggerall = p2bodydist <= 20  <- - - for the close one  you may have to adjust the values


triggerall = p2bodydist >= 21 <- - - - - for the far


sig made by shullbocka

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

* IMT Calendar

May 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 [28] 29 30 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal