| Blockland Forums > Suggestions & Requests |
| VCE Variables : PlayerAim |
| << < (3/5) > >> |
| Loopyla1:
Or something that allows an event to happen in the direction of the player. Like, fireRelayRelative. Fires a relay relative to the player's direction. spawnPr- Wait, we have that. addVelocity [0-0-0]. Adds velocity in the direction the player is facing. I really need to organize my thoughts. |
| spartan101:
--- Quote from: Loopyla1 on May 23, 2010, 05:15:23 PM ---Or something that allows an event to happen in the direction of the player. Like, fireRelayRelative. Fires a relay relative to the player's direction. spawnPr- Wait, we have that. addVelocity [0-0-0]. Adds velocity in the direction the player is facing. I really need to organize my thoughts. --- End quote --- well he means it forces him to aim auto on player something and forces you to zoom in right? |
| Loopyla1:
wat |
| Placid:
--- Quote from: spartan101 on May 23, 2010, 06:53:07 PM ---well he means it forces him to aim auto on player something and forces you to zoom in right? --- End quote --- ... No, that's not what he means. he wants it so that if he looks at something, it will impulse him in that direction. Think + read the full topic before you post. |
| Loopyla1:
That way, I could do something like this. --- Code: ---OnActivate>Self>FireRelay OnRelay>Self>FireRelay OnRelay>Self>VCE_IfValue>[var:player:firing] == 1 OnVariableTrue>Player>Addvelocity>[0-0-0] [2] --- End code --- So when I click/hold LMB, I move 2 studs in the direction I am facing :p |
| Navigation |
| Message Index |
| Next page |
| Previous page |