Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSGM Help
Re: SSGM Help [message #275988 is a reply to message #275976] Sat, 28 July 2007 21:51 Go to previous messageGo to previous message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma:
Colonel
Whitedragon wrote on Sat, 28 July 2007 23:01

Wall command
[code]
class WallChatCommand : public ChatCommandClass {
void Triggered(int ID,const TokenClass &Text,int ChatType) {
GameObject *obj = Get_GameObj(ID); //Gets the gameobj of the player using the command.
if (obj) {
Vector3 Pos = Commands->Get_Position(obj);
Pos.X += 3.0f;
GameObject *Wall = Commands->Create_Object("GDI_Humm-vee_Player",Pos);
Commands->Set_Model(Wall,"whatever");
Console_Input(StrFormat("ppage %d Wall... Created",ID).c_str());
}
}
};

I dun quite get that. Huh I don't see a ! commands or anything like that in there.
BTW: Thanks a whole lot WD- you da best!


http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost

[Updated on: Sat, 28 July 2007 21:51]

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
Previous Topic: Cinematics On Custom
Next Topic: need help with CnC_C130drop
Goto Forum:
  


Current Time: Wed Nov 06 05:56:48 MST 2024

Total time taken to generate the page: 0.00916 seconds