Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Calling scripts.
Calling scripts. [message #309708] Thu, 10 January 2008 17:28
wittebolx is currently offline  wittebolx
Messages: 332
Registered: May 2007
Location: the netherlands
Karma: 0
Recruit
this code works:
						sprintf(Promote, "ppage %d The Brotherhood of Nod likes your style, you are promoted to rank Brigadier, enjoy the extra 30HP armor on all NEW characters", ID);
						Commands->Create_2D_WAV_Sound("m00bgwf_kill0031i1nbrs_snd.wav");
						GameObject *obj = Get_GameObj(ID);
						Commands->Attach_Script(obj,"reb_Nod_reinforcements","");


but when i want to replace reb_Nod_reinforcements with reb_GDI_a10_strike it doesnt.
i can compile it but the script doesnt work.
both reb's work with a chat hook i put in the script for testing.

when i go ingame and im promoted to Brigadier, the reb_Nod_reinforcements is activated but when i replace it with reb_GDI_a10_strike and im promoted to Brigadier it wont activate the airstrike script.

can you someone explain this please?


Previous Topic: Copy the renegade logo
Next Topic: CLOSED well not closed butdont need no more help on this
Goto Forum:
  


Current Time: Sat Apr 20 09:02:41 MST 2024

Total time taken to generate the page: 0.00641 seconds