Blockland Forums > Help
VCE Variable HELP!
Evar678:
--- Quote from: TheArmyGuy on December 30, 2012, 02:21:27 PM ---Noedit
No, there isn't, but you can detect spacebar (<var:pl:jumping>) and right mouse button (<var:pl:jetting>) unless they're remapped in which case it would be the remapped button.
--- End quote ---
What? All of this is wrong.
<var:pl:firing> returns 1 as long as you hold down your left mouse button
And no, <var:pl:jumping> and <var:pl:jetting> doesn't detect the button, it just detects weather you're doing said action.
TheArmyGuy:
--- Quote from: Evar678 on December 30, 2012, 02:52:18 PM ---What? All of this is wrong.
<var:pl:firing> returns 1 as long as you hold down your left mouse button
And no, <var:pl:jumping> and <var:pl:jetting> doesn't detect the button, it just detects weather you're doing said action.
--- End quote ---
--- Quote from: lightupman on December 29, 2012, 01:23:16 PM ---check if the left mouse button was clicked down
--- End quote ---
Uhm that is sort of what he asked for.
Also, I am pretty sure it still returns 1 inside a minigame with no jet-players presing RMB.
JPSC:
--- Code: ---0. [0] onActivate -> Self -> fireRelay
1. [33] onRelay -> Self -> fireRelay
2. [33] onRelay -> Self -> ifValue [<var:pl:firing>] [==] [1] [3 3]
3. [0] onVariableTrue -> Player -> spawnProjectile -> pong
--- End code ---
Evar678:
--- Quote from: TheArmyGuy on December 30, 2012, 03:11:01 PM ---Uhm that is sort of what he asked for.
Also, I am pretty sure it still returns 1 inside a minigame with no jet-players presing RMB.
--- End quote ---
Not my point, my point was that vce doesn't do what you said.
--- Quote from: TheArmyGuy on December 30, 2012, 03:11:01 PM ---Also, I am pretty sure it still returns 1 inside a minigame with no jet-players presing RMB.
--- End quote ---
Yes it does.