Jump to content

Question

Hello.

 

I have 2 questions.

 

1:

 I have working nuke script working with dayz... is it possible to attach nuke launch script (or any script) to scud B rocket launch?

 

2: 

Nuke script is working trough setdamage 1... Everything works fine and every building is destroyed in radius I set, but if player relogs or another players logs in, some buildings(Hangars,Factories,etc) are not destroyed. Any ideas how to fix it?

 

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

the reason for buildings looking undamaged after a relog is because those buildings are part of the map which is clientside. everytime a player relogs from a server they make a new load of the clientside files which includes the map. there's really not much you can do to change this. the only buildings that will/should stay destroyed are the buildings you have spawned serverside yourself through a map addon .sqf file.

Link to comment
Share on other sites

  • 0

Nothing much... Client needs to handle only building destruction.

 

 

In init field: null = [] execVM "path\to\your\script.sqf";
 

google this: BIS_fnc_destroyCity

 

 

I already have finished script...but  I how no idea how to attach it to SCUD B rocket launch. (Example-player fires scud rocket and activates targeting script)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...