Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Disarm gun?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Disarm gun? (Read 730 times)
Ladios
July 23, 2008, 11:26:56 AM
Is it possible for a gun to shoot someone, then they lose whatever weapon they were holding at that moment?
Ad Bot
Advertisement
Loz
July 23, 2008, 11:28:15 AM
New laser idea?
Ephialtes
July 23, 2008, 11:40:21 AM
Yeah, in the oncollision:
%col.unmountImage(0);
serverCmdDropTool(%col.client,%col.client.currTool);
Should work, unless the currTool is stored on the player object - I can't remember.
Ronin
July 23, 2008, 02:24:15 PM
I think this would be a useful tool. If there was someway to make the dropped weapon unable to be picked up by that person again. Can't tell you how many times being shot with a rocket while building results in a kick or ban.
oromis
July 23, 2008, 02:45:30 PM
Earth disarm
that was a spear like weapon though. im sure itll be just as easily scripted as a gun though
tommybricksetti
July 25, 2008, 06:26:53 PM
Just copy the oncollision function and place it at the bottom of the gun script.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Disarm gun?