Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script Request  () 1 Vote
Re: Script Request [message #330639 is a reply to message #330608] Thu, 15 May 2008 09:56 Go to previous messageGo to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma:
General (4 Stars)
reborn wrote on Thu, 15 May 2008 03:02

Set_Lightning and Set_War_Blitz are part of the script Commands class, you need to put "Commands->" before them when using them. You compilers error message earlier was miss-leading, but I checked and it is part of that class.

I also checked these functions out at some point last year and noticed the effects seemed to do very little, if not nothing at all. Perhaps the distance and spread stuff is very sensitive, try diffrent float values ranging from very large to very small.

i have added commands-> and yet i get a new error

1>.\gmmain.cpp(1599) : error C2065: 'commands' : undeclared identifier
1>.\gmmain.cpp(1599) : error C2227: left of '->Set_War_Blitz' must point to class/struct/union/generic type
1>        type is ''unknown-type''
1>.\gmmain.cpp(1608) : error C2065: 'commands' : undeclared identifier
1>.\gmmain.cpp(1608) : error C2227: left of '->Set_Lightning' must point to class/struct/union/generic type
1>        type is ''unknown-type''

[Updated on: Thu, 15 May 2008 14:03]

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
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: Questions on scripting.
Next Topic: Commands
Goto Forum:
  


Current Time: Sun Jan 26 17:37:25 MST 2025

Total time taken to generate the page: 0.01271 seconds