How to make an exist test?? like if an object exists at the screen?? Please help , nobody never answer me :'( thanks! I'll be waiting for an answer!
|
Sep 19 2014, 6:14 pm
Best response
|
|
You'd use the locate() proc.
|
thank you mann! but i got this error :
Naruto.dm:141:error: src: undefined var Naruto.dm:141:error: =: expected a constant expression Naruto.dmb - 2 errors, 0 warnings or this Naruto.dm:133:error: exist: invalid proc definition Naruto.dmb - 1 error, 0 warnings or Naruto.dm:76:error: exists: undefined var Naruto.dm:135:warning: exists: variable defined but not used Naruto.dmb - 1 error, 1 warning sorry ,i'm really dummy |
That was purely an example, it was meant to be learned from and not pasted into your code. If you don't have the grasp of the language required to figure out what you need to do with that I recommend you stop using some source you downloaded off the internet (a terrible place to learn), and check out the DM Guide and DM Reference to begin learning the language the proper way. Then after you get that down, you can start checking out the resources to get more involved.
|