action CBPRESS 0 2 1 1 1
There probably are numerous problems with the code, infact the ammount of comments probably show just how poor my coding is.
action CBPRESS 0 2 1 1 1
define NCBPBUTTON1 3590 useractor notenemy NCBPBUTTON1 0 ifaction CBPRESS break ifp pfacing // this is not perfect but it's good enough for now ifpdistl 800 ifhitspace ifcanseetarget { action CBPRESS sound SWITCH_ON quote 150 ifvare LEVEL 1 setvar NCBP1 1 else ifvare LEVEL 2 setvar NCBP2 1 else ifvare LEVEL 3 setvar NCBP3 1 else ifvare LEVEL 4 setvar NCBP4 1 else ifvare LEVEL 5 setvar NCBP5 1 else ifvare LEVEL 6 setvar NCBP6 1 else ifvare LEVEL 7 setvar NCBP7 1 else ifvare currlev 8 setvar NCBP8 1 } enda
This post has been edited by DeeperThought: 10 March 2011 - 03:25 PM
High Treason, on Mar 10 2011, 02:22 PM, said:
action CBPRESS 1 1 1 1 1
This post has been edited by DeeperThought: 10 March 2011 - 04:39 PM
onevent EVENT_DISPLAYWEAPON ifvare currentweapon 1 setvar RETURN -1 endevent
This post has been edited by wayskobfssae: 31 March 2011 - 12:19 AM
DeeperThought, on 31 March 2011 - 08:27 AM, said:
wayskobfssae, on 31 March 2011 - 08:37 PM, said:
// Kuribo define KURIBO1 8231 define KURIBO2 8232 action KURIBOANIM 8231 2 1 1 8 move KURIBOMOVE 0 32 useractor enemy KURIBO1 1 KURIBOANIM KURIBOMOVE cstat 257 ifhitweapon { // spawn something better when I have implemented it... spawn BLOOD killit } enda
useractor enemy KURIBO1 1 ifmove 0 { move KURIBOMOVE geth sizeat 40 40 action KURIBOANIM cstat 257 } ifhitweapon { // spawn something better when I have implemented it... spawn BLOOD killit } enda
High Treason, on 11 April 2011 - 04:44 PM, said:
Quote
This post has been edited by Wolf: 11 April 2011 - 04:51 PM
High Treason, on 11 April 2011 - 04:44 PM, said:
SleeperService, on 16 April 2011 - 07:40 PM, said:
This post has been edited by SleeperService: 16 April 2011 - 08:37 PM