disappear an object in a single player scene

Users who are viewing this thread

Hello everyone, I was wondering, how could an object disappear in a scene at a certain moment ..
I thought of several options, for example using the replace_scene_props command as in the script to disappear the siege objects or the prop_instance_animate_to_position command, but most of the objects that disappear with this command are destructible and I just want to disappear it or replace it with another in a specific moment ... who can help me?
Thank you.
 
Solution
I do it this and it worked :grin:
Code:
(0, 0, ti_once,
    [
    (store_mission_timer_a,":mission_time"),
    (ge,":mission_time",88),
    (scene_prop_get_instance,":ship_instance", "spr_rampa_invisible", 0),
    (prop_instance_get_position,pos1,":ship_instance"),
    (position_move_z,pos1,-80000),
    (prop_instance_animate_to_position,":ship_instance",pos1,1),

    ], []),
I do it this and it worked :grin:
Code:
(0, 0, ti_once,
    [
    (store_mission_timer_a,":mission_time"),
    (ge,":mission_time",88),
    (scene_prop_get_instance,":ship_instance", "spr_rampa_invisible", 0),
    (prop_instance_get_position,pos1,":ship_instance"),
    (position_move_z,pos1,-80000),
    (prop_instance_animate_to_position,":ship_instance",pos1,1),

    ], []),
 
Upvote 0
Solution
Back
Top Bottom