Search found 16 matches
- 03 Jan 2017, 23:26
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
So something like initializing 5 variables, use getObject to assign them a droid,then DroidArray.Push(droid1) and so on to add them to the array and then feed that to camMakeGroup()?
- 03 Jan 2017, 17:06
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
Is there a way of making a group with specific droids whose ID is known?
- 31 Dec 2016, 20:39
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
So, if I understood correctly, I can feed camManageGroup with the camMakeGroup function, which will make a group of droids based on the area label I feed to it and then set them to attack and pursue enemies a certain position by feeding camManageGroup the order and position parameters. //create grou...
- 31 Dec 2016, 13:47
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
Is there a function to set up radar blips? I've looked at the libcampaign documentation, but I don't see a function that can set them up, though I can only see enumBlips or hackAddMessage with PROX_MSG type being involved. As for groups, I could use some guidance, since I have to manage groups in 2b...
- 31 Dec 2016, 01:46
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
Haven't tested my scripts for SUB_2_1, but if someone would do it, I would very much appreciate it.
... though I know I should test my own stuff.
... though I know I should test my own stuff.
- 30 Dec 2016, 18:01
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
I'm starting the conversion work on cam2b/bx, just so we don't overlap our efforts. Edit: Alright, I'm a bit lost as to how to make artifacts drop from specific buildings (i.e. the heavy factory in the base directly north on CAM_2B). Nevermind, just had to delve a bit deeper into the use of JSON. Gr...
- 30 Dec 2016, 01:07
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
Am I correct in assuming that changePlayerColour accepts the colour ID as input?
Something like this.
Many thanks for the function, by the way, very appreciated.
Code: Select all
changePlayerColour(downedTransportTeam, 0);
Many thanks for the function, by the way, very appreciated.
- 30 Dec 2016, 00:34
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
This is the particular snippet of WZScript I have yet to convert createAlliance(newPlayer, curPlayer); //make player 0 (newPlayer) units belong to player 1 (curPlayer) //save the old colour so we can set it back again oldColour = getPlayerColour(curPlayer); newColour = getPlayerColour(newPlayer); se...
- 27 Dec 2016, 22:47
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
Currently in need of a way to access colours as the downed team is supposed to have the same colour as the player. Edit: Current commits of JS, constructive criticism is welcome. Changed victory conditions so that units are transferred only if the transport is alive (victory flag = 1). Will a break ...
- 26 Dec 2016, 22:18
- Forum: Artwork
- Topic: Models by Jorzi (AR)
- Replies: 1703
- Views: 969173
Re: Models by Jorzi (AR)
@Jorzi: having that issue on 3.2.2 w/ Beta 2 aswell.
- 26 Dec 2016, 02:49
- Forum: Other Talk
- Topic: {split topic} Maps? Follow the rules!
- Replies: 7
- Views: 5125
Re: The new transparent Art-Revolution mod?
Beta 2 w/ 3.2.2, having issues.
- 25 Dec 2016, 01:54
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
CAM_VICTORY_OFFWORLD doesn't have access to callback. This is an offworld mission where you only need a single unit to reach the crashed transport area. CAM_VICTORY_STANDARD requires you to kill all the units, which isn't needed in this level.
- 22 Dec 2016, 19:41
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
I assume that I will also need to make a droid.json file that contains those IDs, and add those to an array. Given that the transport has 10 units, I suppose after I'll have the droid.json file laid out I could do something like this: var downedTransportDroids = [ ID 1, ID 2, ID 3, ID 4, ID 5, ID 6,...
- 22 Dec 2016, 16:19
- Forum: Scripting
- Topic: The official --=jscam=-- thread
- Replies: 201
- Views: 170147
Re: The official --=jscam=-- thread
I figure we'll have to design a function that damages everything found within a certain area at the beginning of the level. Such a function is also needed to apply damage to the units near the downed transport in SUB_2_1. Specifically, for our case: - Find out the area which contains the droids we w...
- 21 Dec 2016, 16:54
- Forum: Artwork
- Topic: Models by Jorzi (AR)
- Replies: 1703
- Views: 969173
Re: Models by Jorzi (AR)
Remind me what causes this issue, again.