Blockland Forums > Help
I need spell variable help!
Banana:
--- Quote from: Annoying Orangeetfan on May 19, 2009, 07:18:39 AM ---I think he means to show him the code,too.
--- End quote ---
Nope :P
Anyway, I guess you're using IfPlayerLastMsg.
Maybe, like... I suppose it would be quite easy to make it so that you say FireBall or whatever, and then click the brick, but that's not the same. Does it have to be with a brick? I think there's a OnPlayerTalk event running around somwhere in the Add-ons section.
Tingalz:
ahahahah, on the last line, say:
Variablefalse-player-spawnprojectile-NONE
That way whenever you say something else, it stops.
pitchblack:
--- Quote from: Tingalz on May 19, 2009, 08:37:53 AM ---ahahahah, on the last line, say:
Variablefalse-player-spawnprojectile-NONE
That way whenever you say something else, it stops.
--- End quote ---
Don't work...
pitchblack:
--- Quote from: pitchblack on May 19, 2009, 06:16:12 AM ---I am making an rpg and I need help on how to make a few things with variables.
The things I need help with are listen blelow.
Spells- - -Variable events dealing with saying a word and something happening[Example below]
Say "Fire Blast" , and a tank shell comes out...I've tried this before but I can only seem to get it to either, not stop shooting, or to only shoot when i click the brick...
Can anyone help me?
--- End quote ---
BTW
I use
onActivate>self>firerelay
onrelay>self>firerelay
onrelay>self>iflastplayermsg>[Fire Blast]
onVariableTrue>player>spawnprojectile[tank shell]
is there anything I can do to make it so it only fires on time?
phflack:
0 onactivate>self>firerelay
1 onrelay>self>firerelay
2 onrelay>self>iflastplayermessageequals"fireblast"
3 onvariabletrue>player>spawnprojectile[tankshell]
4 onvariabletrue>self>seteventenabled[3][off]
5 onvariablefalse>self>seteventenabled[3][on]