Problem
#1

So, i have a dynamic vendor system and in this loop (while i load all vendors), i created an actor:

pawn Код:
new VendorActor;
        VendorActor = CreateActor(168, VendorData[i][vendorPos][0], VendorData[i][vendorPos][1], VendorData[i][vendorPos][2], VendorData[i][vendorPos][3]);
Actors are showing without problems, but...




As you can see, the actor is literally INSIDE the vending object. (When people says: I'm inside this vending system..)

How to put actor a bit back the vending object?

Thanks.
Reply
#2

Spawn position of what? Actor or vendor machine?

EDIT: Fixed!



I had to add +1.5 when setting actor pos.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)