Jump to content

Photo

Duplicating Pointers?


  • Please log in to reply
1 reply to this topic

#1 Jambu

Jambu

    Junior

  • Members
  • Pronouns:He / Him, They / Them

Posted 26 April 2024 - 11:30 AM

Is there a simple Std.zh function for duplicate pointers such as items, enemies, weapons and what not?


Edited by Jambu, 26 April 2024 - 11:30 AM.


#2 Emily

Emily

    Scripter / Dev

  • ZC Developers
  • Pronouns:She / Her

Posted 26 April 2024 - 12:08 PM

Is there a simple Std.zh function for duplicate pointers such as items, enemies, weapons and what not?

I think there MIGHT be, though I'm not sure it's up to date so it might not copy everything. (IIRC it would just be `Duplicate(ptr);`)

 

...we should really just add something like that internally...


  • Jambu likes this


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users