Jump to content
  • 0

Setting a String to 0 (Null)


Keim

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  221
  • Reputation:   12
  • Joined:  12/18/11
  • Last Seen:  

I have the following piece of text:

 

case 1:
					set map,0;
					set @event_map$,none;
					set $@event_x,0;
					set $@event_y,0;
					mes "Event Warper";
					mes "Map Reset!";
					next;
					goto L_GM;

 

Line three is what I need help with. Just for context, this is an Event Warper NPC, and this here is the GM resetting the map location so it becomes null (0). How exactly can I do this with a string? With Integers, you use the 0 (set $@event_x,0; ). With strings?

 

 

Cheers

Keim

Edited by Keim
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

set string$,"";
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...