Blockland Forums > General Discussion
Event help topic | Don't be afraid, ask away!
GenaralSkar:
--- Quote from: s245 on December 10, 2011, 07:51:33 PM ---How can you make a bot respond to your command with VCE?
like...
Yogi: Hello Smart Bot!
Smartbot: Hello
--- End quote ---
Relays and IfLastPlayerMsg if I'm not mistaken.
Lugnut:
Relays, or VCE Functions.
onActivate > Self > VCE_StateFunction
onActivate > Self > VCE_CallFunction
onVariableFunction > Self > VCE_CallFunction
and no god dammit, not 'IfPlayerLastMessage'
<VAR:CL:LASTMSG>
Mega-Bear:
<var:cl:name>
<var:cl:blid>
<var:cl:lastmsg>
What others are there?
Port:
Read the manual, it has the full list.
Cajetan:
I have a question. I really don't understand the way how functions in VCE does work.
So im asking:
I made 2 bricks. The one is called giver_1 which contains the function. And the 2th is called call_1 which will call the function and executes its use.
So giver_1 contains following:
OnActivate -> self -> VCE_statefunction -> giver1 [1 2]
OnVariableFunction -> Client -> ChatMessage -> "You recieved points!"
OnVariableFunction -> Client -> VCE_modvariable -> points Add 1
And call_1 contains following:
OnActivate -> self -> VCE_callFunction -> giver1 [call_1]
What does the little box on VCE_statefunction mean? Does it mean arguments or just the number, where the OnVariableFunction Events are contained?
EDIT:
Im a god damn idiot, i found out myself.