Welcome! Please Login or Register!
April 10, 2020, 06:29:05 AM
Home Login Register
pftq Forums  |  Game Design  |  Age of Empires III  |  remove object ??? 0 Members and 1 Guest are viewing this topic. « previous next »
Latest News!VR Jetpack Game Trailer and Music(Jul 29, 2019)
Pages: [1] Print
Author Topic: remove object ???  (Read 1330 times)
Booo
Member
*****
Offline Offline

Posts: 2

« on: March 07, 2015, 03:13:41 AM »

hey ,
i need code to delete object >>

Code:
int Fooo1=rmCreateObjectDef("Fooo1 All  1");
rmAddObjectDefItem(Fooo1,"SPCAztecMap",1,0.0);
rmPlaceObjectDefAtLoc(Fooo1, 0,0.50,0.51);



how can delete Fooo1 Huh
Logged
pftq
Administrator
*****
Offline Offline



Posts: 4124

WWW
« Reply #1 on: March 09, 2015, 05:43:55 PM »

Are you talking about during the game? The rm commands only take place before the game starts (the load screen).  Look into triggers if you want to make things happen during the game.  There are triggers like Unit Destroy that will be close to what you're looking for.
Logged
Pages: [1] Print 
pftq Forums  |  Game Design  |  Age of Empires III  |  remove object ??? « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines | RSS Feed Valid XHTML 1.0! Valid CSS!
Page created in 0.557 seconds with 21 queries.