Jump to content


Photo

Create Effect At Object


  • Please log in to reply
2 replies to this topic

#1 gman5500

gman5500

    GMC Member

  • New Member
  • 86 posts
  • Version:GM8

Posted 21 February 2012 - 12:59 AM

I am using the d&d for createing a effect at a object. here are some specifics:

the icon is this an explosion under other in draw.

i have this filled out:

type: explosion

x: obj_bomb_x

y: obj_bomb_y

size: medium

color: un-needed

where: above objects

reletive: no

Also it is in the collosion event.

what happens is the bomb falls and this happens:


___________________________________________
ERROR in
action number 4
of Collision Event with object obj_wall
for object obj_bomb:

Error in expression:obj_bomb_x
position 1: Unknown variable obj_bomb_x

___________________________________________
ERROR in
action number 4
of Collision Event with object obj_wall
for object obj_bomb:

Error in expression:obj_bomb_y
position 1: Unknown variable obj_bomb_y
  • 0

#2 Blake

Blake

    GMC Member

  • GMC Member
  • 443 posts
  • Version:GM:Studio

Posted 21 February 2012 - 02:05 AM

x: obj_bomb.x
y: obj_bomb.y
You need to use a dot instead of an underscore :thumbsup:
  • 0

#3 gman5500

gman5500

    GMC Member

  • New Member
  • 86 posts
  • Version:GM8

Posted 22 February 2012 - 02:14 AM

x: obj_bomb.x
y: obj_bomb.y
You need to use a dot instead of an underscore :thumbsup:

thanks :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users