Raised This Month: $ Target: $400
 0% 

Problem Entity Origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
zXCaptainXz
Member
Join Date: May 2017
Old 02-15-2022 , 15:16   Re: Problem Entity Origin
Reply With Quote #2

I believe this is your problem
Origin[2]+= 50
->
Origin[2]+= 50.0
Origins are floats and you are incrementing them with an integer so it counts as 0

As for changing the color, nothing comes to my mind right now but I believe it’s possible.

As for your setting health, I believe you should give your entity a size so it gets a hitbox
Code:
new Float:maxs[3] = {16.0,16.0,36.0}
new Float:mins[3] = {-16.0,-16.0,-36.0}
entity_set_size(susanoo,mins,maxs)
There should be a fakemeta method if you prefer so you can try and figure it out
zXCaptainXz is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode