Pesquisa resultou em 4 ocorrências

por Junior_Djjr
16 Mar 2019, 19:49
Fórum: Ajuda
Tópico: making Drug dealers perform animations
Respostas: 7
Exibições: 189
Gênero:

Re: making Drug dealers perform animations

thalilmythos escreveu:
16 Mar 2019, 19:08
was that he appears at about a meter Up from the ground then falls, so it's too obvious, how can i make the ped appear allready in the ground?
Use Z coord -100.0.
But you can also create, and then use the opcode to put actor in some coord without offset (no_offset variation).
This is caused by the offset. The game adds a offset by default, so you can also fix it just decreasing the Z value. But I prefer to re-put the coord, it's safer I think, but this is yet more safer: f16-utilidades/t180-teleportar-algo-sem ... mper-acoes
por Junior_Djjr
15 Mar 2019, 20:44
Fórum: Ajuda
Tópico: making Drug dealers perform animations
Respostas: 7
Exibições: 189
Gênero:

Re: making Drug dealers perform animations

This seems harder than I imagined, ped doesn't save information about the script on it, and you definitely need to have control over the particular given script, something that is not as easy to achieve as it is dynamic and multiplies the each ped.
por Junior_Djjr
14 Mar 2019, 10:44
Fórum: Ajuda
Tópico: making Drug dealers perform animations
Respostas: 7
Exibições: 189
Gênero:

Re: making Drug dealers perform animations

thalilmythos escreveu:
13 Mar 2019, 17:15
I know, i think you missunderstood me, i don't want to know how to store him, i want to know, how to make the dealer actor perform an animation by opcode, because if you try to make him perform any animation, the actor will try for about a msecond, then, go back to being a dealer, 0605 doesn't work 0812 neither, anyway none of the animation opcodes work on actors who are dealers from the streets.
Can he stop being a dealer forever? I think it's easy to remove the script from him, but then it would be necessary to reput the script again, so I don't know a good way.
por Junior_Djjr
13 Mar 2019, 05:24
Fórum: Ajuda
Tópico: making Drug dealers perform animations
Respostas: 7
Exibições: 189
Gênero:

Re: making Drug dealers perform animations

It is working...
Imagem

Código: Selecionar tudo

{$CLEO}
0000:

while true
    wait 0

    068D: get_camera_position_to [email protected] [email protected] [email protected]
    if 0AE1: [email protected] = random_actor_near_point [email protected] [email protected] [email protected] in_radius 50.0 find_next false pass_deads true
    then
        repeat

            00A0: store_actor [email protected] position_to [email protected] [email protected] [email protected]
            016F: create_particle 1 rotation_factor 0.0 size 2.0 intensity 255 flags 0 0 0 at [email protected] [email protected] [email protected]

        until 8AE1: not [email protected] = random_actor_near_point [email protected] [email protected] [email protected] in_radius 50.0 find_next true pass_deads true
    end
end
Never use wait inside repeat...until.

Voltar para “making Drug dealers perform animations”