ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:    
Ambiera Forum > CopperCube > Programming and Scripting
Weopon Swap
Author Text

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: "Intern?tional" (you are not logged in)


Text:

 

  

Forum 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


   





Software: Ambiera Light Forum. © 2008-2015 Nikolaus Gebhardt, Ambiera e.U.