Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Harvesters (Player Controlled)
Re: Harvesters (Player Controlled) [message #275623 is a reply to message #268675] Thu, 26 July 2007 14:23 Go to previous messageGo to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma:
General (2 Stars)

It is really simple actually... You have two scriptzones, one
for harvesting and the other to dump at, and the playerharvester
has a script attached to it.

Make a script_zone_all at the dumparea and put JFW_Resource_Refinery on it
Make a script_zone_all at the harvestzone and put JFW_Resource_Field on it
Attach the script JFW_Resource_Collector to the playerharvester.
When the playerharvester enters the harvestzone, the harvestzone
will send a message to the playerharvester and it will start
harvesting.
When done harvesting the animation will pop up and the player should
drive to the dumpzone.
When the playerharvester enters the dumpzone, the dumpzone will send a
message to the playerharvester and it will trigger a dump and reset
the script so it can harvest a new load...


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: objects .gm
Next Topic: Edit Levels Problemm
Goto Forum:
  


Current Time: Sun Jul 21 20:49:39 MST 2024

Total time taken to generate the page: 0.00900 seconds