Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Spawn_Scriptzone?
Re: Spawn_Scriptzone? [message #254751 is a reply to message #254741] Thu, 19 April 2007 18:11 Go to previous messageGo to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma:
General (2 Stars)

bluethen wrote on Thu, 19 April 2007 17:14

Neku wrote on Thu, 19 April 2007 16:09

bluethen wrote on Thu, 19 April 2007 21:33

I made a few beacon spawners, (Using the TFX_Replace_When_Repaire way, if any of you know) and I've been trying forever to figure out how to spawn a script. Whenever I do spawn a script, or a david's arrow, ren crashes. I usually want the script to send the player into the sky and other stuff of such.

Yeah I know the script - I wrote it Very Happy

You cannot use Create_Object to create anything without physics (e.g. spawners) - it will crash the game.

My mod allows creation of spawners with Create_Object btw Razz

Are you trying to create a dummy object for attaching scripts to it?

I just want to add a mere script zone spawner with beacons. Maybe I can have it spawn a ped that has the script zone attached. Is that possible? How?



So you want a scriptZONE that:

- Will create a beacon powerup at a specific location
- When that beacon powerup is picked up you want the beacon powerup to re-appear in x ammount of seconds?



*edit* NVM the below, i was edditing my post while you replied the one after this one. ignore this lol..

What you can do for example is:

Create a beaconspawner.
"Make" the beacon spawner on the map. Note this beaconspawnerID

"Make" a Dave_Arrow somewhere on the map, note the ID of this arrow.
Attach the script JFW_Enable_Spawner_Custom on this Dave Arrow.
Custom is the message to receive for enabling the spawner, for ex 777.
As the ID enter the ID of the beaconspawner.

Attach the script M00_Trigger_Zone_Entered_RMV to a scriptzone_star:
Start_Now = 1
Receive_Type = 3
Receive_Param_on = 1
Receive_Param_off = 0
Target_ID = ID of the Dave Arrow
Send_Type = 777
Send_Param = 1
Min_Delay = 1
Max_Delay = 1
Trigger_Count = (how much times you want to trigger it)
Trggerer = (team to trigger on 0=nod,1=gdi,2=any)


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Thu, 19 April 2007 18:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Renx Buildings
Next Topic: looking for info on renegade netcode
Goto Forum:
  


Current Time: Wed Feb 12 17:42:06 MST 2025

Total time taken to generate the page: 0.00720 seconds