Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Weopon Swap

zoo
Registered User
Quote
2017-03-16 20:22:17

How to change the shoot damage via javascript, code snippet would be nice.

The rest I have got down.


ZOO
Guest
Quote
2017-03-16 20:31:52

Oh yes, and how can I change the weopon range in javascript API?


Zoo
Guest
Quote
2017-03-16 21:17:09

So,I figured it out with FPS mode...

Make several camera's

Give each camera a weopon...

Click checkbox,only when camera is active....

Then set a key to toggle weopon and then set the action to switch camera...

All camera's must have the same settings except for different shoot damage and range.

You can use javascript to set position of camera to where your current camera is and then just activate it


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inter?ational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact