| Blockland Forums > Help |
| How do I use variables to make thing?!? |
| (1/1) |
| SoulStealer:
If I say "dog" I will change into a Zombie Dog If I say "human" I will change to standard player If I say "womprat" I will change into a Womprat How do I do such things? |
| phflack:
onlastplayermessage, looping, and toggling, you can only have one input variable at a time, or it will do both and affect all variable outputs of v4, unless you're using v5 which makes it much easier as you don't need to toggle |
| SoulStealer:
Can't you just tell me what I need to put in the events? |
| phflack:
oh fine, i was too lazy before variables V4 0[X]input>self>loopingoutputstuffs 1[X]onloopingstuffs>self>iflastplayermessage[dog] 2[X]onvariabletrue>player>changedatablock[zombiedog] 3[X]onvariablefalse>self>toggleeventenabled[1 2 3 4 5 6] 4[0]onloopingstuffs>self>iflastplayermessage[human] 5[0]onvariabletrue>player>changedatablock[standard] 6[0]onvariablefalse>self>toggleeventenabled[4 5 6 7 8 9] 7[0]onloopingstuffs>self>iflastplayermessage[womprat] 8[0]onvariabletrue>player>changedatablock[womprat] 9[0]onvariablefalse>self>toggleeventenabled[7 8 9 1 2 3] forgot how to work v5 =D i'll be back with another post.. |
| SoulStealer:
So...what is...loopingstuffs?._. |
| Navigation |
| Message Index |