Action to terrain?

Posted By: Gino_Fabrizio

Action to terrain? - 11/09/12 22:36

Hi, i want to know if there is any way to add an Action to a terrain loaded, the terrain is small.hmp.- Thanks
Posted By: sivan

Re: Action to terrain? - 11/10/12 11:28

yes, easily if you use level_load(NULL) and ent_create to make the terrain.

if you use level_load("small.hmp") you can call a function afterwards by using the pseudo entity level_ent : terrain_action(level_ent) and declare a function like terrain_action(ENTITY* terrain_ent)
© 2024 lite-C Forums