Blockland Forums > Modification Help
Need help with player throwing Script
<< < (2/4) > >>
Wizard:
Could you explain what you're trying to do?
Crysist:

--- Quote from: Wizard on June 12, 2010, 08:38:45 PM ---Could you explain what you're trying to do?

--- End quote ---
Player A clicks a guy, without holding someone, the guy he clicked, player B, mounts in player A's arms. The next time player a clicks player B will dismount his arms and add velocity by like 15 in the direction player A is looking.
Wizard:
try flipping lines 6 and 7
Crysist:

--- Quote from: Wizard on June 12, 2010, 09:11:44 PM ---try flipping lines 6 and 7

--- End quote ---
lilboarder said I had to put %client = %obj.client; before the raycast part, cause client wasn't yet defined until it.
lilboarder32:

--- Quote from: Wizard on June 12, 2010, 09:11:44 PM ---try flipping lines 6 and 7

--- End quote ---
Silly, that wouldn't be good, he needs %client defined.

--- Quote from: Crysist on June 12, 2010, 08:09:25 PM ---Also is there a way to check if %client is holding an item in their hands?

--- End quote ---
I think it might be isObject(%client.player.getMountedImage()) or something similar, dump all methods of the player class using %client.player.dump() in console and it will list all possible methods to use players and certain variables assigned to them.
Navigation
Message Index
Next page
Previous page

Go to full version