Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripting help
Scripting help [message #436628] Wed, 15 September 2010 14:59 Go to previous message
wubwub is currently offline  wubwub
Messages: 142
Registered: May 2009
Location: Ontario
Karma:
Recruit


I want to attach a script to both tiberium refinery's to edit credit rate.

function OnLevelLoaded(Preset)
Attach_Script(Get_GameObj(What do i put in here??), "JFW_Tiberium_Refinery", "5,01.00")
Attach_Script(Get_GameObj(), "JFW_Tiberium_Refinery", "5,01.00")

end


This is obviously incorrect but what do i put in (Get_Gameobj(What do i put in here?), ??
And i also want to attach a script to GDI and Nod harvester, is it still "Get_GameObj"?

Another thing, the preset for the obby gun (Weapon_obelisk) is not working, nor is the preset for the strong repair gun,

Any help to get those working?


When renegade goes Wub, it never goes back

(or at least until I re-install renegade anyways)

http://i266.photobucket.com/albums/ii272/ZaydenX/Walrus-Sig.jpg

[Updated on: Wed, 15 September 2010 15:19]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tortoise SVN Public Repository
Next Topic: Cinematic Ion/Nuke Strike
Goto Forum:
  


Current Time: Mon Sep 30 01:14:49 MST 2024

Total time taken to generate the page: 0.00808 seconds