Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Preset Buy
Preset Buy [message #267590] Wed, 20 June 2007 17:20 Go to next message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

I have made my map so when i press a switch, it buys a turret and puts in in XYZ for 1000 credits.

How can i make the switch dissapear when the turret is bought But re-appear when the turret dies?

Thanks in advance.


I Am TeH OnE

[Updated on: Wed, 20 June 2007 17:21]

Report message to a moderator

Re: Preset Buy [message #267591 is a reply to message #267590] Wed, 20 June 2007 17:36 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
Attach the script JFW_Preset_Buy_Poke to a switch or some other object and input the price, co-ordinates and the unit.

Not sure about making it disappear, though.


[Updated on: Wed, 20 June 2007 17:49]

Report message to a moderator

Re: Preset Buy [message #267592 is a reply to message #267591] Wed, 20 June 2007 17:43 Go to previous messageGo to next message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

i know that, what i have is JFW_preset_buy_poke

That all works, New plan.

How can i attach a script to the object i am making with that script ^?

so, i press the switch, it makes the turret buy with a script attached to it.


I Am TeH OnE
Re: Preset Buy [message #267593 is a reply to message #267590] Wed, 20 June 2007 17:49 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
It would have to buy a different vehicle preset than the standard vehicle, one with the script already attached to it.
Re: Preset Buy [message #267596 is a reply to message #267593] Wed, 20 June 2007 17:52 Go to previous messageGo to next message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

can that be done serverside?

I Am TeH OnE
Re: Preset Buy [message #267597 is a reply to message #267590] Wed, 20 June 2007 17:53 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
No.

Actually, it could if you used a different vehicle preset that is the same as the regular one and is unused in multiplayer.

[Updated on: Wed, 20 June 2007 17:53]

Report message to a moderator

Re: Preset Buy [message #267599 is a reply to message #267597] Wed, 20 June 2007 17:57 Go to previous messageGo to next message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

what do you mean by that? and what script do i attach to the turret to create another object when the turret dies?

I Am TeH OnE
Re: Preset Buy [message #267617 is a reply to message #267590] Wed, 20 June 2007 21:21 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
TFX_Spawn_When_Killed


Re: Preset Buy [message #267865 is a reply to message #267590] Thu, 21 June 2007 15:34 Go to previous message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

how can i mod turrets 4 diffrent ways? so each 4 turret has diffrent settings?

I Am TeH OnE
Previous Topic: Importing Preset Library
Next Topic: Weapon pickups
Goto Forum:
  


Current Time: Sat Dec 21 01:17:43 MST 2024

Total time taken to generate the page: 0.00833 seconds