Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

Ring collecting noob problem


Recommended Posts

I assume you use GM: Make a variable in the create even called RingHandle and here is a script:

//Adds 1 Ring to the Ring Counter.
if ( place_meeting(x, y, obj_ring))
{
var RingHandle; RingHandle = instance_nearest(x, y, obj_ring);
if (distance_to_object(RingHandle) < 16)
{
with(RingHandle) instance_change(obj_ringfade,true);
global.Rings+=1;
sound_play(Ring_snd)
}
}[/CODE]

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...