Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AddEntityCollideCallback FAIL
Victor Offline
Member

Posts: 83
Threads: 19
Joined: Oct 2011
Reputation: 2
#12
RE: AddEntityCollideCallback FAIL

(10-30-2011, 03:36 AM)Apjjm Wrote:
(10-30-2011, 12:06 AM)flamez3 Wrote: You have decimals on the "AddPropForce" event, you would probably need to put an f on the end of each float.

e.g: AddPropForce("wine01_1", -8.738f, 0.945f, -8.775f, "world");
Whilst it isn't necessary, you are correct in stating and doing this, as it is good practice to add the "f" after the decimal numbers to state that they are "floats" rather than "doubles". I say this merely because otherwise, you may get warning messages mixed in any error messages when compiling your script. These appear in both the log files and the error message box if errors occur (otherwise they are just ignored), and if sufficient in number, waste time trying to scan through them to see the actual relevant info.
Now the door and the message are working, but the bottle do not move!

10-30-2011, 02:13 PM
Find


Messages In This Thread
AddEntityCollideCallback FAIL - by Victor - 10-29-2011, 10:35 PM
RE: AddEntityCollideCallback FAIL - by devin413 - 10-29-2011, 11:31 PM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 12:09 AM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-30-2011, 12:32 AM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 01:52 AM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-30-2011, 12:06 AM
RE: AddEntityCollideCallback FAIL - by Apjjm - 10-30-2011, 03:36 AM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-30-2011, 03:51 AM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 02:13 PM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-31-2011, 01:14 AM
RE: AddEntityCollideCallback FAIL - by devin413 - 10-30-2011, 02:18 AM
RE: AddEntityCollideCallback FAIL - by MrBigzy - 10-30-2011, 03:00 AM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 03:13 AM
RE: AddEntityCollideCallback FAIL - by Laurensman - 11-01-2011, 11:37 PM



Users browsing this thread: 2 Guest(s)