Aller au contenu

Photo

Moving creatures. Why?


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Wiee Neuropa

Wiee Neuropa
  • Members
  • 12 messages
Hello peopole.

In area editor i create creature laying dead on bed with gore level (http://social.biowar...s/939953/132605) . Thats ok but if game play cutscene this creature change position after cutscene end (http://social.biowar...s/939953/132606). Someone know why? I try many things how fix it but nothing work.

And sorry for my bad english.:(

#2
Proleric

Proleric
  • Members
  • 2 343 messages
Try setting the creature varable PHYSICS_DISABLED to 1.

I've seen the same issue with sitting creatures. They spawn correctly, but at the end of a cutscene the engine tries to move them to a safe location unless that flag is set.

#3
Wiee Neuropa

Wiee Neuropa
  • Members
  • 12 messages
I change psysics variables and now move under the bed :) http://social.biowar...s/939953/132710

How can i set flag?

#4
Proleric

Proleric
  • Members
  • 2 343 messages
You might have to set the creature's Z-axis explicitly in the Position property.

If all else fails, a script to SetLocation at the end of the cutscene should do it.

#5
Wiee Neuropa

Wiee Neuropa
  • Members
  • 12 messages
Thats i try but vector is in negative value and SetLocation dont work for me. Can u tell me right script for SetLocation? Something like :

object oManOnBed = GetObjectByTag("man_on_bed")
object oWaypoint = GetObjectByTag("wp_man_on_bed");
location lWp = GetLocation(oWaypoint);
SetLocation(oManOnBed, lWp);

?

#6
Wiee Neuropa

Wiee Neuropa
  • Members
  • 12 messages
Yeah exactly this script work for me right! Finaly after 2 weeks of torture:) Thaks a lot bro!