Jump to content

PSquall

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Everything posted by PSquall

  1. Hello guys, i just wanted to make a suggestion that is basicly for beginners. How about a FAQ, like "Whats the difference between createAgent and createUnit". or "how to make a heli land". Yes there is a search function, several tutorials and stuff. but honestly, a faq would be really useful for beginners.
  2. Thank you, i really didnt see the "cargo" option on emptyPositions.
  3. Oh wow, first of all thank you kylania. Second, im on my mobile, so its a bit of a problem to go into details right now, but here it is. Im working on a script that spawns civilians and let them do random things in a city. Yes i know, there are a lot of those out there, but since i want to do it my way and learn scripting with that. At first, i used createAgent and let them handle the orders i gave them via an fsm. It worked all fine, exept i couldnt let them run, move faster or any other change in behaviour. Yes, i could call animations, but thats a bit cluncy just for running. Then i tried them together in groups, but i think i can remember, they didnt follow waypoints and stuff. even after i enabled the fsm for that (i tried like EVERY). tbh, i dont really know if i used the forum search for a solution, but i googled it for sure. After i tried several things, i switch to createUnit... and everybody moved without an order or anything. And thats where i am right now. It seems that every civilian i spawn just moves randomly throughout the city, even without orders. I could disable the ai for that, but than im back to an agent. Maybe its not that sort of a difficult problem, but i seriously tried so much, am im a bit frustrated. Edit: i will post some of my code, when im back home.
  4. Hey, sorry for highjacking this thread, but I got a similar issue. I have group of civilians (around 50) that need to get evac. I got the helicopters to loop from evac point to safety, but since I got all civilians in one group, I can't just let them enter as a group. Is there any easy way to a) not just make another group from the bigger group of civilians enter the helicopters and b ) get the capacity of the heli for the group size. And another OT question: when can I open an own thread, cause I have a difficult problem and I don't see a thread "For people who can't open threads yet."
  5. Is there any way to circumvent the local restiction? Since im fairly new to scripting, i can only imagine a way to call a mp function on the local or something, if that is even possible. If not, than you dont need a poll, more functionality is always awesome!
×