Pie015 Posted August 4, 2010 Share Posted August 4, 2010 How do you make random ped's spawn at coords every 2 minutes If there is a way i would gladly appreciate it Whats the CODE?????? RANDOM peds! not Sweet or big smoke etc... Link to comment Share on other sites More sharing options...
toonskull Posted August 6, 2010 Share Posted August 6, 2010 :loop0376: [email protected] = create_random_actor_at [email protected] [email protected] [email protected] wait 120000Actor.RemoveReferences([email protected])jump :loop This is rather simplistic but basically you need to define x y z of course. Link to comment Share on other sites More sharing options...
Pie015 Posted August 6, 2010 Author Share Posted August 6, 2010 :loop0376: [email protected] = create_random_actor_at [email protected] [email protected] [email protected] wait 120000Actor.RemoveReferences([email protected])jump :loop This is rather simplistic but basically you need to define x y z of course. Thanks man, but i want them to be normal peds, like walk down the stairs and on to the pavement? Link to comment Share on other sites More sharing options...
BnB Posted August 6, 2010 Share Posted August 6, 2010 05F5: AS_actor [email protected] goto_point 0.0 0.0 0.0 mode 4 -1 ms // versionB Link to comment Share on other sites More sharing options...
james227uk Posted August 6, 2010 Share Posted August 6, 2010 If you want them to behave like normal peds, then Actor.RemoveReferences() The game engine no longer controls them, and they act like normal peds on the streets Link to comment Share on other sites More sharing options...
Pie015 Posted August 6, 2010 Author Share Posted August 6, 2010 Yes!!!!! finally, I'm not the only one at the hostpital anymore!!! THANK YOU!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
ik0N Posted June 21, 2011 Share Posted June 21, 2011 It's not working for me, the PED is still not walking.... it's still in one place. {$CLEO .cs}//-------------MAIN---------------thread 'PEDS':PEDS_010376: [email protected] = create_random_actor_at -2752.3118 -2320.6443 17.6966wait 120000Actor.RemoveReferences([email protected])jump @PEDS_01 This code is working in CLEO 4? Link to comment Share on other sites More sharing options...
BnB Posted June 21, 2011 Share Posted June 21, 2011 He will after 2 minutes. Be patient. Link to comment Share on other sites More sharing options...
ik0N Posted June 22, 2011 Share Posted June 22, 2011 Sry, but no. After 2 minutes the script generate another character, but same thing, don't move... Link to comment Share on other sites More sharing options...
fireguy109 Posted June 22, 2011 Share Posted June 22, 2011 Sry, but no.After 2 minutes the script generate another character, but same thing, don't move... He probably doesn't have a predefined path on which to move throughout the hospital. Link to comment Share on other sites More sharing options...
ik0N Posted June 22, 2011 Share Posted June 22, 2011 This coords, is not in the Hospital. Is on the streets. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now