Acidmods

AcidMods Resources ----- ( These are helpful tools for modding ) => Open Source Code & AcidMods Free Code => Topic started by: jayjay63 on May 26, 2012, 11:30:06 PM

Title: left trigger cancellation for drop shot
Post by: jayjay63 on May 26, 2012, 11:30:06 PM
how do you make drop shot cancel when lt is pulled? any help is greatly appreciated
i have my drop shot code but dont know how to add lt cancellation.
Title: Re: left trigger cancellation for drop shot
Post by: Bigandrewgold on May 26, 2012, 11:41:57 PM
currently it is probably like this

Code: [Select]
b=0
do rf stuff
b=1

but  if you want it to not happen if lt is pulled it would be something like this

Code: [Select]
if lt=0 then
b=0
endif
do rf stuff
b=1

now since I dont know what language you are making it in I just wrote this out in psudo basic, but you should be able to translate this into whatever language you are using
Title: Re: left trigger cancellation for drop shot
Post by: jayjay63 on May 27, 2012, 12:05:06 AM
how do i tell what language im using? sorry im new to this
Title: Re: left trigger cancellation for drop shot
Post by: Bigandrewgold on May 27, 2012, 12:07:39 AM
how do i tell what language im using? sorry im new to this
wait, are you trying to add this to a hex file?  If not then post some of the code
Title: Re: left trigger cancellation for drop shot
Post by: jayjay63 on May 27, 2012, 12:11:38 AM
yes im trying to add this to my code.

all i see is
020000040000FA
:1010000080EF08F000000000D76AD66A870ED56E20
:10101000D624240ED76408EF08F09F0ED664D59E20
:1010200089B614EF08F0A92A000EA9621AEF08F099
:101030008BEF08F0010EA96220EF08F098EF08F09E
SimplePortal 2.3.5 © 2008-2012, SimplePortal